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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Amrog
Frequent Visitor

How do I accomplish summing multiple values then dividing by one value?

How is this done in Dax?Howin DAX.PNG

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

Depends on your data, if Met, Not Met, etc are measures then it is almost identical

 

( [Met] + [Not Met] + ... ) / [Denominator]

 

If that is not the case. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



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...

Hi Greg,

Thanks for the prompt response. "( [Met] + [Not Met] + ... )" are not meaures. I'm trying to replicate the formula from the Excel cell based format: 

=SUM(B12,C12,E12,F12)/H12

 

To what would be equivalent in Dax.

 

I tried creating a measure first:

Reporting Sum =
SUMX (
CaseMeasurePerformance,
CaseMeasurePerformance[NumeratorPass] + CaseMeasurePerformance[NumeratorFail] + CaseMeasurePerformance[NumeratorException] + CaseMeasurePerformance[NumeratorExclusion]
)
 
Then divide the measure by the denominator value, In excel this is the H12 cell:
 
Reporting Rate = DIVIDE( [Reporting Sum] , .... )
 
Intellisense will not allow me to divide by the value in the h12 cell.
 
I hope I provided some clarity.
 
Thanks, Aaron
 
 

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.