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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
manoj_vyx
Regular Visitor

Ignore grand total percent getting summed up

Hi Forum,

                 I'm trying to get the grand total of the percentage columns but PowerBi is summing up the percent values instead of actual percent. Attached is what I need vs what powerbi is showing.

 

manoj_vyx_0-1721211237096.png

 

1 ACCEPTED SOLUTION

@manoj_vyx the complete updated measure:

Measure = IF( SUM(Query1[actual])= SUM(Query1[commited]) , 0,
IF(SUM(Query1[commited]) = 0,1,DIVIDE(SUM(Query1[actual]) - SUM(Query1[commited]), SUM(Query1[commited]), 0)))
BeaBF_1-1721290722698.png

 

BBF

View solution in original post

7 REPLIES 7
manoj_vyx
Regular Visitor

When calculating the %Delta change the total is getting summed up. Instead of actual change.
When you see the total 8 --> 56 should be 600% but it's showing up as 1600% all the 100% getting summed up instead of correct calculation

manoj_vyx_1-1721289721354.png

 

 

@manoj_vyx Yes, because the calculated column evaluates the expression row by row and then the default sum of power bi returns the sum of the column, in this case 1600. Try to use a measure instead of a column:

Measure = DIVIDE(SUM(Query1[actual]) - SUM(Query1[commited]), SUM(Query1[commited]), 0)
The total is correct now:
BeaBF_0-1721290555494.png

 

BBF



@manoj_vyx the complete updated measure:

Measure = IF( SUM(Query1[actual])= SUM(Query1[commited]) , 0,
IF(SUM(Query1[commited]) = 0,1,DIVIDE(SUM(Query1[actual]) - SUM(Query1[commited]), SUM(Query1[commited]), 0)))
BeaBF_1-1721290722698.png

 

BBF

Thanks, this worked for me.

BeaBF
Super User
Super User

@manoj_vyx Hi! can you paste sample data and the measures you are actually using in the pbix to calculate the %?

 

BBF

IDcommitedactual
123403
123502
123603
123703
123803
123908
124002
124101
124201
124305
124402
124501
124602
124702
124802
124908
125000
125100
125233
125300
125400
125500
125600
125700
125800
125900
126000
126100
126200
126300
126400
126500
126600
126700
126855
126900
127000
127100
127200
127300
127400
127500
127600
127700
127800
127900
128000
128100

Hi @BeaBF , Here is the sample data. Also, attaching the calculation here. I am using column. 

% Delta Change = IF(Query1[actual] = Query1[committed], 0,

IF(Query1[committed] = 0,1, ([actual]-[committed])/[committed]))

@manoj_vyx ok, perfect. Now explain to me the problem on this data.

 

BBF

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Kudoed Authors