INT Function (DAX)

How does the INT function (DAX) work?

INT function (DAX) rounds a number down to the nearest integer.

INT Formula Syntax


How do you use the INT function?

INT performs a type conversion to integer and always returns an integer, whereas other rounding functions (such as TRUNC) returns a decimal.

Related Blog Posts

Related Support Forum Posts

IF Function needs a calculation
Multi Criteria, IF and contains
Handling Negative Margin Calculation

Considerations when using the INT function

TRUNC and INT are similar in that both return integers. TRUNC removes the fractional part of the number. INT rounds numbers down to the nearest integer based on the value of the fractional part of the number. INT and TRUNC are different only when using negative numbers: TRUNC(-4.3) returns -4, but INT(-4.3) returns -5 because -5 is the lower number.

Related Video Tutorials

EDNA TV-Unique subtotal
EDNA TV-Harvesting a slicer selection

Formula examples using the INT function

INT ( 2.9 ) = 2

Related DAX Functions


Related Course Modules



To access our comprehensive DAX formula reference guide just insert your email address below. The resource will download immediately and we’ll also email it to you.