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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User

@abloor , Try measures like

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

 

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@abloor , Try measures like

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

 

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

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

 

Thanks again!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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