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! Learn more

Reply
Anonymous
Not applicable

Getting a value using filters

I am trying to do a pie chart  with  a  sub-value out of total value .

 

ID Status Type
fr-34

standing

Fiction
fr-35

rank

Nonfiction
fr-36

ranking

Drama
fr-37

position

Fiction
fr-38

social position

Nonfiction
fr-39

social position

Drama
fr-40

ranking

Fiction
fr-41

standing

Nonfiction
fr-42

rank

Drama
fr-43

position

Fiction
fr-44

position

Nonfiction
fr-45

ranking

Drama
fr-46

position

Fiction
fr-47

social position

Nonfiction
fr-48

social position

Drama
fr-49

ranking

Fiction

 

I want to get the  total count of  'ranking'  with 'friction ' ( 2)  against a  total of 'friction' ( 6)

and create a measure that gets these values  and any page level filters or visual filters  should not disturb  those values.

 

Used this but it does not help with fixing the values .

tot_Count = CALCULATE(COUNT('Details'[id ]),FILTER(ALLEXCEPT(' Details', ' Details'[Status]),'System Details'[type]="Fiction"))

1 REPLY 1
MFelix
Super User
Super User

Hi @Anonymous ,

 

Try the following code:

 

tot_Count = CALCULATE(COUNT('Details'[id ]),FILTER(ALL(' Details'), 'System Details'[type]="Fiction"))

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



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