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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors