Showing results for 
Search instead for 
Did you mean: 
shelbsassy Member

Re: Percent of Total based on Flags

After many trials and tribulations I finally got it to work.  Not sure I understand the logic but I'll take it.  Thanks for the help!


PercentMembers = CALCULATE('Members Claims'[# Members]/CALCULATE('Members Claims'[# Members],ALLEXCEPT('Members Claims','Members Claims'[Carrier_id])))

Super User
Super User

Re: Percent of Total based on Flags

Yep, that looks better. Your demoninator is calculating your measure in the context of all items in Members Claims except it is honoring any filter on Carrier_id column. The numerator calculates your measure in the full context of the filters on the visual/report/page.

I have book! Learn Power BI from Packt

Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

shelbsassy Member

Re: Percent of Total based on Flags

Thank you for the explanation.  I was able to create 2 similar calculations using the logic from the explanation.  Appreciate the help!

v-huizhn-msft Super Contributor
Super Contributor

Re: Percent of Total based on Flags

Hi @shelbsassy,

Congratulations, you have resolved your issue by yourself. Please mark your solution as answer. So that other people benefit from it and find workaround clearly.


Helpful resources

Community Highlights

Community Highlights

Find out what's new in the Power BI Community!

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 94 members 1,510 guests
Please welcome our newest community members: