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
Leasie_7
Frequent Visitor

Measure with ALL

I am in need of some expert help. I am very confused as I have not had this problem arise yet, though still relatively new to Power BI. To me it seems to be quirky...? -- Thanks in advance!


Below is similiar to what the end result will look like; I would show top 3, but my issue is within "Outreach to Provider". Specifically my issue I have lies within the denominator that's used to calculate the percentages below.

For the screenshot below I am using this measure directly mentioned below to get the correct denominator for my % calculation which I don't want to use because it does not allow my end user to change the filter on "Outcome" if they desire. 

Total Resolved RCA (Ignore Level 2) for Overturned Only = CALCULATE([Total Resolved RCA],ALL(RESOLVED[Level 2]),KEEPFILTERS(RESOLVED[Outcome]<>"Upheld"))

Leasie_7_0-1681936123366.png

 

I would have thought I could have used this measure with ALL just I have have for other visuals, but it appears to act strangely and I do not know why: Total Resolved RCA (Ignore Level 2) = CALCULATE([Total Resolved RCA],ALL(RESOLVED[Level 2]))

 

I figured the screen shots below better show the components, my issue is why is the last column; my desired measure, is not showing "54" for all rows when filters or Corrective Action is in the matrix?

 

With "Corrective Action" as a Row in matrix with filter on visual to only show “Outreach to Provider” why does the last column not all show 54?

Leasie_7_1-1681936365989.png

 

Same thing happens when I leave Corrective Action as a row in matrix and remove Corrective Action filter on visual

Leasie_7_2-1681936384366.png

 

When I removed Corrective Action from the Row Section, but leave the visual filter on the last column now shows 54 appropriately. This however does not work for my desired result I need to be able to leave "Corrective Action" as a row on the matrix and filter on the visual, but retain "54".

Leasie_7_3-1681936408370.png

 

Please any help is appreciated!

8 REPLIES 8
Greg_Deckler
Community Champion
Community Champion

@Leasie_7 Try:

Total Resolved RCA (Ignore Level 2) for Overturned Only = CALCULATE([Total Resolved RCA],ALLSELECTED('RESOLVED'),KEEPFILTERS(RESOLVED[Outcome]<>"Upheld"))


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler 

 

I updated your measure to not have the outcome <> upheld because I want the user to be able to look at upheld if they would like. 

Total Resolved RCA (Ignore Level 2) = CALCULATE([Total Resolved RCA],ALLSELECTED(RESOLVED))

 

It works when only one corrective action is selected 

Leasie_7_1-1682003188791.png

However, when I bring in another they get the total between the 2. How do I get "Outreach to Provider" to reflect 54 and "Account Update" to show 45 so I can use it as the denominator for the middle % column on each corrective action category?

Leasie_7_0-1682003051159.png

 

I am confused as to why I cannot use "ALL" with Level 2 instead of "ALLSELECTED" for the whole table. Shouldn't it see the visual filter context and apply based on whichever outcomes are selected along with corrective action selected to show in the visual. Maybe I need to use a combination of things to keep corrective action row context, but allow filtering on the whole "Resolved" table as well??

 

Thanks again

 

 

@Greg_Deckler 

Something else quirky is my original measure of:

Total Resolved RCA (Ignore Level 2) = CALCULATE([Total Resolved RCA],all(RESOLVED[Level 2]))
 
has no issue with getting the correct value until you collapse a corrective action 
correct:
Leasie_7_0-1682013938615.png

 

incorrect after collapsing "Claim Adjustment/Reprocessed"

Leasie_7_1-1682013984841.png

 

 

I feel like there is just something goofy going on.

 
 

@Leasie_7 Really hard to troubleshoot unless you can provide some sample data so that I can mock it up. However, regarding the measure not having the right value when you collapse...

 

First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e

This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

NumberCorrective ActionLevel 2Outcome
35739Account UpdateAccountingOverturned - Error
35349Account UpdateAccountingOverturned - Error
33849Account UpdateAccountingOverturned - New Information
33849Account UpdateAccountingOverturned - New Information
35230Account UpdateAccountingOverturned - New Information
33824Account UpdateAccountingOverturned - Error
34540Account UpdateClaims ProcessingOverturned - New Information
35201Account UpdateLocal PharmacyOverturned - New Information
35150Account UpdateOrder ProcessingUpheld
34977Account UpdateOrder ProcessingUpheld
34977Account UpdateAccountingUpheld
35695Account UpdateOrder ProcessingOverturned - Error
35609Account UpdateOrder ProcessingOverturned - New Information
35386Account UpdateOrder ProcessingOverturned - New Information
35075Account UpdateOrder ProcessingOverturned - New Information
33921Account UpdateAccountingOverturned - Error
34133Account UpdateOrder ProcessingOverturned - New Information
33849Account UpdateOrder ProcessingOverturned - New Information
35465Account UpdateOrder ProcessingOverturned - New Information
34560Account UpdateOrder ProcessingOverturned - Error
34476Account UpdateOrder ProcessingOverturned - New Information
34377Account UpdateOrder ProcessingOverturned - New Information
34679Account UpdateWeb PortalUpheld
34679Account UpdateWeb PortalUpheld
35746Account UpdateOrder ProcessingOverturned - New Information
34121Account UpdateAccountingOverturned - New Information
35201Account UpdatePlan BenefitOverturned - New Information
34537Account UpdatePlan BenefitOverturned - New Information
34954Account UpdateOrder ProcessingUpheld
34612Account UpdateWebsite/portalsUpheld
35709Account UpdatePrior AuthOverturned - New Information
34560Account UpdatePrior AuthOverturned - Error
35265Account UpdateOverrideUpheld
35263Account UpdateOrder ProcessingUpheld
35263Account UpdateOrder ProcessingUpheld
35263Account UpdateWeb PortalUpheld
34148Account UpdatePrior AuthOverturned - New Information
34462Account UpdateEligibilityUpheld
35739Account UpdateWeb PortalOverturned - Error
34355Account UpdateWebsite/portalsOverturned - New Information
35012Outreach to ProviderOrder ProcessingUpheld
35808Account UpdateOrder ProcessingUpheld
34606Outreach to ProviderOrder ProcessingOverturned - New Information
35661Account UpdatePlan BenefitUpheld
33945Account UpdateEligibilityOverturned - New Information
34068Account UpdateEligibilityOverturned - Error
35043Outreach to ProviderPlan BenefitOverturned - New Information
35048Account UpdateOrder ProcessingUpheld
35011Account UpdateOrder ProcessingUpheld
34143Outreach to ProviderPrior AuthOverturned - New Information
35775Account UpdateOrder ProcessingOverturned - New Information
34824Account UpdateEligibilityUpheld
34824Account UpdateOrder ProcessingUpheld
35651Account UpdateOrder ProcessingOverturned - New Information
34335Outreach to ProviderClaims ProcessingUpheld
34335Outreach to ProviderOrder ProcessingUpheld
35795Outreach to ProviderPrior AuthUpheld
34538Outreach to ProviderOrder ProcessingOverturned - New Information
34876Account UpdateOrder ProcessingOverturned - Error
34876Account UpdateOrder ProcessingOverturned - Error
35876Outreach to ProviderPrior AuthUpheld
34611Outreach to ProviderPrior AuthOverturned - New Information
35756Outreach to ProviderPrior AuthUpheld
35663Outreach to ProviderPrior AuthUpheld
35578Outreach to ProviderPrior AuthUpheld
34335Outreach to ProviderWeb PortalUpheld
34293Account UpdateOrder ProcessingUpheld
35604Outreach to ProviderClaims ProcessingOverturned - New Information
35435Outreach to ProviderLocal PharmacyUpheld
35604Outreach to ProviderLocal PharmacyOverturned - New Information
34096Outreach to ProviderPrior AuthOverturned - New Information
34096Outreach to ProviderPrior AuthOverturned - New Information
35544Outreach to ProviderPrior AuthOverturned - New Information
35843Outreach to ProviderOrder ProcessingOverturned - New Information
33828Outreach to ProviderPrior AuthOverturned - New Information
34862Outreach to ProviderPrior AuthOverturned - New Information
35043Outreach to ProviderPrior AuthOverturned - New Information
35757Outreach to ProviderPrior AuthOverturned - New Information
34528Outreach to ProviderPrior AuthOverturned - New Information
35142Outreach to ProviderPrior AuthOverturned - New Information
34129Account UpdateOrder ProcessingOverturned - Error
34365Outreach to ProviderOrder ProcessingOverturned - New Information
34365Outreach to ProviderOrder ProcessingOverturned - New Information
34129Account UpdateOrder ProcessingOverturned - Error
35481Outreach to ProviderPlan BenefitOverturned - New Information
33821Outreach to ProviderPrior AuthOverturned - New Information
33821Outreach to ProviderPrior AuthOverturned - New Information
34310Outreach to ProviderPrior AuthOverturned - New Information
34310Outreach to ProviderPrior AuthOverturned - New Information
35195Outreach to ProviderPrior AuthOverturned - New Information
34531Outreach to ProviderOrder ProcessingOverturned - New Information
33819Outreach to ProviderPrior AuthUpheld
33997Outreach to ProviderPrior AuthOverturned - New Information
34047Outreach to ProviderPrior AuthOverturned - New Information
34262Outreach to ProviderPrior AuthOverturned - New Information
34531Outreach to ProviderPrior AuthOverturned - New Information
35646Outreach to ProviderCustomer ServiceOverturned - Error
35590Outreach to ProviderPrior AuthOverturned - New Information
33911Outreach to ProviderOrder ProcessingOverturned - New Information
35777Outreach to ProviderOrder ProcessingOverturned - New Information
33982Outreach to ProviderPrior AuthOverturned - New Information
34247Outreach to ProviderPrior AuthOverturned - New Information
35378Account UpdateWeb PortalUpheld
34139Outreach to ProviderAppealsOverturned - New Information
33904Account UpdateOrder ProcessingOverturned - Error
34946Outreach to ProviderOrder ProcessingOverturned - New Information
34972Account UpdateOrder ProcessingUpheld
34972Account UpdateProgramsUpheld
34645Account UpdateWeb PortalUpheld
35071Account UpdateOrder ProcessingOverturned - New Information
34040Account UpdateOrder ProcessingOverturned - New Information
35360Account UpdateOutreachOverturned - New Information
35104Outreach to ProviderOrder ProcessingOverturned - New Information
33898Outreach to ProviderPrior AuthOverturned - New Information
34993Outreach to ProviderPrior AuthUpheld
34155Outreach to ProviderPrior AuthOverturned - New Information
34245Outreach to ProviderPrior AuthOverturned - New Information
33864Outreach to ProviderOrder ProcessingOverturned - New Information
34147Outreach to ProviderPrior AuthOverturned - New Information
35595Account UpdatePrior AuthOverturned - New Information
34941Account UpdateWebsite/portalsUpheld
34129Account UpdatePrior AuthOverturned - Error
34589Outreach to ProviderPrior AuthOverturned - New Information
35546Outreach to ProviderPrior AuthOverturned - New Information
35341Outreach to ProviderPlan BenefitOverturned - New Information
35141Outreach to ProviderPrior AuthOverturned - New Information
35141Outreach to ProviderPrior AuthOverturned - New Information
33944Outreach to ProviderOrder ProcessingOverturned - New Information
33858Outreach to ProviderPrior AuthOverturned - New Information
33967Outreach to ProviderPrior AuthOverturned - New Information
34957Account UpdateEligibilityUpheld
34027Outreach to ProviderPrior AuthOverturned - New Information
34289Account UpdatePrior AuthOverturned - New Information
33835Outreach to ProviderOrder ProcessingOverturned - New Information
34144Account UpdateOrder ProcessingUpheld
35441Account UpdateWeb PortalOverturned - New Information
34532Account UpdateWeb PortalOverturned - Error

 

@Greg_Deckler  Sorry I did not know how to get sample data on this post. Below is my attempt from the above sample data and you can see on the right when I collapse it does not hold. 

Leasie_7_0-1682085152198.png

 

@Leasie_7 One question, what is the formula for "Total Resolved RCA" measure?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler 

The main Total Resolved RCA measure is 

Total Resolved RCA = COUNTA('RESOLVED'[Number])
 
The measure that I would expect to work with allowing filtering on outcome still is:
Total Resolved RCA (Ignore Level 2) = CALCULATE([Total Resolved RCA],all(RESOLVED[Level 2]))

@Leasie_7 No need to apologize, that is literally perfect. Copies and pastes into an Enter Data query just fine. Let me see what I can mock up.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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