TRUNC DAX Function

The TRUNC function truncates a number to an integer by removing the decimal, or fractional, part of the number.

DAX Syntax TRUNC(Number, NumberOfDigits)

The function has the following parameters:

Example: Create a calculated column.

DAX

Trun column = TRUNC('Table Decimals'[Decimals])
TRUNC dax function

Example: Create a calculated column.

DAX

Trun column = TRUNC('Table Decimals'[Decimals],2)
TRUNC dax function