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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
JayTG123
Advocate I
Advocate I

Filtered % value over total value.

 

Hi all,

Probably very simple but I am stuck in finding the correct DAX Forumla to get the percentage of "Total Permits" per Organisation, over the overall total. This is to see which Organisation is the busiest by percentage. % - The table below, the Organisations have been filtered.

Jay

 

JayTG123_0-1643629208309.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hey, 
Total Permits is probably a measure here e.g. SUM([Total Permits]) or some similar function to count permits- thus would rename # Permits. 
Try to create a new measure # Total Permits 
Calculate ( SUM([Total Permits]), ALL([Organisation]))
Then % measure would be just  DIVIDE (# Permits , # Total Permits)

Let me know if this is what you are looking for

View solution in original post

6 REPLIES 6
JirkaZ
Solution Specialist
Solution Specialist

If it's the Matrix visual you are using then the easies way would be to drop the "Total Permits" to the table again and in the "Values" pane switch it to "Show Value As" --> "Percent of grand total"

Hi @JirkaZ I would normally use this but not all Organisations are listed on the table - so its not an accurate percentage for the overall permits / all organisations. 

JirkaZ
Solution Specialist
Solution Specialist

What @Anonymous  says then if it's really all the orgs.

Anonymous
Not applicable

Hey, 
Total Permits is probably a measure here e.g. SUM([Total Permits]) or some similar function to count permits- thus would rename # Permits. 
Try to create a new measure # Total Permits 
Calculate ( SUM([Total Permits]), ALL([Organisation]))
Then % measure would be just  DIVIDE (# Permits , # Total Permits)

Let me know if this is what you are looking for

Perfect !! Thank you so much @Anonymous !!

Jay

amitchandak
Super User
Super User

@JayTG123 , Try like

 

divide([measure], calculate([measure],all(Table[Organization]) ) )

 

or

 

divide([measure], calculate([measure],removefilters(Table[Organization]) ) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.