Data types in Power BI (original) (raw)

Last Updated : 16 Jan, 2026

Data types are the fundamental building blocks of any dataset. They define the kind of information stored in each column making data easier to organize, process and analyze. Power BI supports a wide range of data types each designed for a specific purpose.

Common Data Types in Power BI

To access the Data Type options:

  1. First, open Power BI Desktop
  2. Click on Transform Data to launch Power Query Editor
  3. Next, select the required column in your table
  4. Once the column is selected, click on the data type icon displayed in the column header

This opens the data type dropdown menu where you can choose the appropriate data type.

3nbnb

Data Type

1. Decimal Number

Decimal

Decimal Data type

2. Fixed Decimal Number

decimal-point

Fixed Decimal number Data Type

3. Whole Number

whole

Whole Number Data Type

4. Percentage

Percentage

Percentage Data Type

5. Date/Time

6. Date

date

Date Data type

7. Time

time

Time Data type

8. Date/Time/Timezone

9. Duration

Duration

Duration Data type

10. Text

text

text Data Type

11. True/False (Boolean)

12. Binary

**How to Detect Data Types in Power BI

When data is loaded into Power BI data types are automatically detected. You can view them in Power Query Editor by selecting Home and then Transform Data, where each column header shows an icon indicating its data type.

Screenshot-(9)

**How to Change Data Types in Power BI

When you bring data into Power BI it usually tries to figure out the best data type for each column. However it doesn't always get it right especially if your data is inconsistent. If Power BI misinterprets the data type you can change it manually. There are two main ways to do this: using the Power Query Editor or using DAX formulas.

**1. Changing Data Types Using Power Query Editor

To change the data type of a column using the Power Query Editor.

Screenshot-(9)

Capture

**2. Converting Data Types Using DAX

In Power BI you can use DAX formulas to convert or cast data from one data type to another. DAX provides several functions to help you achieve this. Here are some commonly used functions for data type conversion and casting in Power BI DAX:

Function Purpose
VALUE() change text into a number
FORMAT() Change a value into text with a specific format like currency or date
DATEVALUE() Turns a text date like "01/01/2025" into a real data
TIMEVALUE() turns a text time like "12:30 PM" into a real time
INT() Rounds a number down to the nearest whole number
IF() Checks a condition and gives one result if it's true and another if it's false

These DAX functions allow you to manipulate data types and perform explicit conversions or casting when needed for your calculations, measures and visualizations in Power BI. By knowing how these data types work you use them and convert raw data into useful insights for better decisions.