Donate

Rounding Off Floating Point Numbers To Integer Using DAX In Power BI

Hi,

Just sharing a simple DAX formula to round off floating point numbers to int.
AvgDayToPayRnd = Int(ROUND(AccountsReceivablesAging[AvgDayToPay], 0))
First, you have to use the Round() function passing in the table column as the first parameter and 0 which means no trailing zeroes in the second parameter. Then cast that number to an integer type using the Int() function.

Cheers!

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

How To Insert Or Add Emojis In Microsoft Teams Status Message

TypeScript Error Or Bug: The term 'tsc' is not recognized as the name of a cmdlet, function, script file, or operable program.