Cheat Sheets/Power BI/INT
DAX function

INTDAX function reference

Truncate to an integer.

Syntax

dax
INT(<number>)

Examples

dax
INT([Value])
A whole number
dax
INT(DATEDIFF(Sales[OrderDate], Sales[ShipDate], DAY) / 7)
Whole weeks between order and ship date
dax
INT([Total Sales] / [Target]) * 100
Truncated percent-of-target, dropping the decimal instead of rounding

Common mistakes & gotchas

Related DAX functions

From Math & statistics

Used in these tutorials

← Back to the Power BI (DAX) cheat sheet