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

Remove Cookies From CookieContainer Class

How To Test Or Check Dead Pixels And Backlight Bleed On Your Monitor Using Dead Pixel Checker In Windows 11