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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors