Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Isa01
New Member

Rounding issues

Hi,

I have created a simple file with twice the same column to demonstrate the rounding issue I face in Power BI query using the Transform/ Data type: whole number shortcut. You can see that my numbers are randomly rounded up or rounded down. How can I make sure that all number equal or above xyz.5 is rounded up, and any number below xyz.5 is rounded down.

Thanks!rounding issue.JPG

1 REPLY 1
lbendlin
Super User
Super User

it's not random rounding, you are seeing one of the financial rounding methods. Rounding - Wikipedia

 

if you don't like the result, use one of the many built in rounding functions Number.Round - PowerQuery M | Microsoft Docs

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors