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
alihijazi
Helper I
Helper I

percent of total ( ignore selection)

Hello got the following charts

 

percent_of_total.png we have expenses that are classified as General and Other; so here general expenses represents 63 percent of all expenses and this is correct

Now when user select a slice in the below pie chart the above gauge shows 100% as follows:

percent_of_total.png_2.pngwhereas I need to show that EDL represents around 33% of all instead of 100%

so How can I ignore selection of EDL for the denomenator?

2 ACCEPTED SOLUTIONS
jahida
Impactful Individual
Impactful Individual

The ALL function is your friend here:

 

https://msdn.microsoft.com/en-us/library/ee634802.aspx

 

Can't give more specific guidance without seeing the formulas.

View solution in original post

v-sihou-msft
Employee
Employee

@alihijazi

 

As mentioned, you just need to put "All(Table)" in your total calculation to ignore the selection.

 

Pct Of Total = CALCULATE(SUM('Table'[Column]))/CALCULATE(SUM('Table'[Column]),ALL('Table'))

Capture66.PNG

Regards,

View solution in original post

3 REPLIES 3
joglidden2
Post Patron
Post Patron

This thread was super-useful. 

v-sihou-msft
Employee
Employee

@alihijazi

 

As mentioned, you just need to put "All(Table)" in your total calculation to ignore the selection.

 

Pct Of Total = CALCULATE(SUM('Table'[Column]))/CALCULATE(SUM('Table'[Column]),ALL('Table'))

Capture66.PNG

Regards,

jahida
Impactful Individual
Impactful Individual

The ALL function is your friend here:

 

https://msdn.microsoft.com/en-us/library/ee634802.aspx

 

Can't give more specific guidance without seeing the formulas.

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.