cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
abloor
Helper IV
Helper IV

Work out a percentage of the row subtotal to the total

Hi there,

 

Can you please help me do the DAX for the '% of total' measue for the below?   It seems like it should be so simple but I can't work it out.  Please note it has to be based on a revenue measure, not a column.

 

Thank you

 

 Revenue written in the last week measure% of total
Station  
Cliffton Hills $         50,00050%
Alexandria $         30,00030%
Davenport Downs $         20,00020%
  $         100,000100%
1 ACCEPTED SOLUTION
amitchandak
Super User IV
Super User IV

@abloor , Try measures like

Divide([revenue], calculate([revenue], allselected()))

 

Divide([revenue], calculate([revenue], allselected(Table)))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

2 REPLIES 2
amitchandak
Super User IV
Super User IV

@abloor , Try measures like

Divide([revenue], calculate([revenue], allselected()))

 

Divide([revenue], calculate([revenue], allselected(Table)))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Perfect, thanks very much @amitchandak  your first measure worked for what I need.

 

Thanks again!

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors