Understanding fields
Fields in Power BI include columns and measures. When we talk about fields, we are generally talking about something that applies to both columns and measures. For instance, when we talk about fields' data types, we refer to the correct data types for both columns and measures. The Fields term is used within Power BI Desktop in different views, so there is a Fields pane in the Report view, the Data view, and the Model view.
Data types
When we import data into the model, the model converts that data, in columns, into one of the Tabular Model data types. When we then use the model data in our calculations, the data is converted into a DAX data type for the duration of running the calculation. The model data types are different from Power Query data types. For instance, in Power Query, we have DateTimeZone
. However, the DateTimeZone
data type does not exist in the data model, so it converts into DateTime
when it loads into the model. The following table...