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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
nleuck_101
Responsive Resident
Responsive Resident

% Change number not calculated correctly, maybe rounding?

Hello All,

 

I could use some help with calculating Month over Month % change. Below are my formulas I'm using and results I'm getting. Any help would be greatly appreciated!

 

Measure 1 (1st column total) = SUM(Table[Column])
Measure 2 (2nd column total) = CALCULATE(Measure 1, PREVIOUSMONTH(DateTable[date_field]))

Measure 3 (3rd column total) = DIVIDE(Measure 1 - Measure 2, Measure 2, 0)

 

Example October 2022: (756-697) / 697 --> 59 / 697 --> 8.46% but in Power BI I get 8.32%

 

nleuck_101_0-1669130157287.png

 

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Looks like you will have to ROUND the measures when you use them in measure3

View solution in original post

3 REPLIES 3
HotChilli
Super User
Super User

Looks like you will have to ROUND the measures when you use them in measure3

nleuck_101
Responsive Resident
Responsive Resident

@HotChilli 

 

Yes, it looks like a rounding issue. How can I get around this using whole numbers?

nleuck_101_0-1669137631113.png

 

HotChilli
Super User
Super User

8.32% is 58 (more or less) so yes, I suspect that the real figures are not 756 or 697 exactly.  There will be decimals in there which are not shown in the display but will be used in the measure formula.

That's my theory.  You can prove it by formatting the measures to show a few decimal places.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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 Solution Authors
Top Kudoed Authors