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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Stuznet
Helper V
Helper V

Calculate Difference Total

Hi all,

 

The problem I ran into I want to divide Actual Start over Plan Start (Actual Start divide Plan Start)

 

This is the calculated Actual Start Total, thanks to @Greg_Deckler

https://community.powerbi.com/t5/Desktop/How-to-Calculate-Total-Column-When-is-Not-Displaying-the-To...

 

Actual Start = 
VAR __table = SUMMARIZE(MonthTable,[Month],"__value",[Actual Start])
RETURN
IF(HASONEVALUE(MonthTable[Month]),[Actual Start],SUMX(__table,[__value]))

This is the calculated Plan Start Total

 

Plan Start = 
VAR __table = SUMMARIZE(MonthTable,[Month],"__value",[Plan Start])
RETURN
IF(HASONEVALUE(MonthTable[Month]),[Plan Start],SUMX(__table,[__value]))

 

Now for the Total Finish%. I would like to count the difference Total by divide Actual Start Total over Plan Start Total to get Total Finish% total and not the total of the column

2018-09-27_8-11-44.png

 

How should I write this function? Do I need to create a new measure for that?

 

Thanks guys ^^

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

I may be incorrect, but I am thinking that you could create a new measure like:

 

Total Finish % = DIVIDE([Actual Start],[Plan Start],BLANK())

Should work in the context of ALL (total row) and individual rows. You would format it as a %.

 

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

I may be incorrect, but I am thinking that you could create a new measure like:

 

Total Finish % = DIVIDE([Actual Start],[Plan Start],BLANK())

Should work in the context of ALL (total row) and individual rows. You would format it as a %.

 

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_DecklerThank you so much for all your contributions and efforts to help other fellow users 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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