Changing Column Data Types

When Data Discovery reads a source file it will automatically detect data types of the source columns.

This will subsequently be used to determine whether a column is source for a measure or for a dimension. As a rule, columns of numeric data types will become measures.

However, very often ID columns, such as Customer IDs and Product IDs will be misinterpreted as measures.

To prevent this, these columns can be read as strings instead of numeric columns.

Go to the Data Sources tab of the Data Discovery tool, and then right click any data source to work with column types.

mceclip0.png

In this file, e.g. the Sell-to Customer No. column represents a column that is in fact just a customer ID. If it is kept as an integer data type, it will be treated as a measure. So we change it to a string to get it treated as a dimension.

mceclip1.png

Also, notice that each column may be totally de-activated if they are not to be used in subsequent cubes.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.