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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Remove all filters except some to calculate % of total selected

liamv_0-1673499303951.png

 

Hi all,

Could you please help me to get the measure for the to get the total number of accounts for each region with A&B slicers applied on page? Use it to calculate the % of actual vs. total accounts with A&B applied.

Measure = CALCULATE(COUNT(Table[Region]), ALLEXCEPT(Table, Table[A]))
will show the total number of accounts without A&B applied.


Appreciate your help

Here the PBIX file:
https://file.io/EIbffHydjc8d

2 REPLIES 2
Anonymous
Not applicable

Thank you. Just updated with the link to PBIX file.

My need is to keep show the percentage of A B C D with Weekly/Monthly already applied
(denominators fixed = 179, 357, 930)

So if I change the state, the % will show as a ratio to these numbers (% of A in that state on total A with Frequency applied).

Thank you so much.

liamv_0-1673509040878.png

 



amitchandak
Super User
Super User

@Anonymous , Based on what I got

 

Measure = CALCULATE(COUNT(Table[Region]), Filter(allselected(Table), Table[A] = max(Table[Table A]) ))

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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