DAX Function Guide

INT
Empty image or helper icon

Sam McKay

CEO & Founder

How does the INT work?
INT function (DAX) rounds a number down to the nearest integer.
INT Formula Syntax
INT(<number>) 
How do you use the INT?

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

Loading

Considerations when using the INT?

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

Loading

Formula examples using the INT
INT ( 2.9 ) = 2
Related Courses

Loading