Data types in Power BI

Last Updated : 8 Sep, 2026

Data types in Power BI define how values in a column are stored, interpreted and used in calculations and visualizations. Choosing the correct data type helps Power BI perform calculations accurately and display data appropriately.

Common Data Types

Power BI supports several data types for storing numeric, text, date, time, logical and other values. In Power Query Editor, you can view or change a column's data type using the data type icon in the column header.

3nbnb
Data Type

1. Decimal Number

Stores numbers that can contain decimal values. It is commonly used for measurements, prices and other values requiring fractional numbers.

Decimal
Decimal Data type

2. Fixed Decimal Number

Stores decimal numbers with fixed precision and is useful when consistent numerical precision is important, such as for financial calculations.

decimal-point
Fixed Decimal number Data Type

3. Whole Number

Stores integer values without decimals and is used for counting, indexing and identifiers.

whole
Whole Number Data Type

4. Date/Time

Stores both a date and time, useful for timestamps and transaction records.

5. Date

Stores only the date, without a time component.

date
Date Data type

6. Time

Stores the time of day without a date.

time
Time Data type

7. Date/Time/Timezone

Stores a date and time with timezone information and is useful when working with data across different time zones.

8. Duration

Stores the length of time between two values, such as the duration of a task or process.

Duration
Duration Data type

9. Text

Stores characters, words, numbers represented as text and other textual values.

text
text Data Type

10. True/False (Boolean)

Stores logical values as True or False. It is commonly used for filtering and conditional logic.

11. Binary

Stores binary data, such as the contents of files. It is mainly used in Power Query when working with file-based or binary data sources.

How to Detect Data Types

  • When data is loaded, Power BI may automatically detect the data type of each column. In Power Query Editor, the data type is indicated by an icon in the column header.
  • Select a column to view its current data type and change it if required.

Screenshot-(9)

Changing Data Types

Power BI automatically detects data types when data is loaded, but the detected type may not always be appropriate. You can manually change a column's data type when required.

  1. In Power BI Desktop, go to the Home tab and select Transform Data.
  2. In Power Query Editor, select the column whose data type you want to change.
  3. Select the Data Type option and choose the required type.
  4. If the existing values are incompatible with the new type, Power Query may return errors that need to be corrected.
  5. Select Close & Apply to load the transformed data into Power BI.

Screenshot-(9)

Capture

Converting Data Types using DAX

  • DAX provides functions that can convert values when a specific data type is required during calculations. Common functions include VALUE(), FORMAT(), DATEVALUE(), TIMEVALUE() and INT().
  • Power Query is generally used to define and transform data types during data preparation, while DAX conversion functions can be useful when a conversion is needed within a calculation.

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()

Function
Comment

Explore