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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.