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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors