cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft

@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

2 REPLIES 2
v-sihou-msft
Microsoft
Microsoft

@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

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

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Top Kudoed Authors