Skip to main content

Data Types in Power BI

Table of Contents

Data Type is a classification of data which tells compiler or interpreter what type of data is being used.

Data types in Power BI are used to classify values in a particular column which helps us to structure our data set.

Power BI or Power Query shows the data type on the left side of the field name/column name of the table. As shown in the Image below.

Data Type in Power BI

Let’s Learn About the Different Data Types in Power BI.

Data typeDescription
AnyIndicates no explicit data type definition.
BinaryA binary value, such as Y/N or 0/1.
Fixed decimal numberHas a fixed format of four digits to the right and 19 digits to the left. Also known as the Currency type.
DateA date with no time and having a zero for the fractional value.
Date/TimeA date and time value stored as a Decimal Number type.
Date/Time/Time ZoneA UTC Date/Time with a time-zone offset.
DurationA length of time converted into a Decimal Number.
True/FalseA Boolean value of either True or False.
Decimal numberA 64-bit (eight-byte) floating point number.
PercentageA fixed decimal number with a mask to format as a percentage.
TextStrings, numbers, or dates represented in a text format.
TimeA time with no date having no digits to the left of the decimal place.
Whole NumberA 64-bit (eight-byte) integer value.

The above table reference has been taken from Microsoft. Click here

Detection of Data Type in Power BI

Power query detects automatically detects the data type in a data set by inspecting the values.

If in any case Power Query fails to detect a data type or detects a wrong data type, then we can manually change or select it.

You can just click on the Icon appearing on the left side of the field name where a list will get open, from there you can select the data type. As shows in the image below.

Data Type in Power BI

Add comment