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
Anonymous
Not applicable

How to filter out 2 options from a list, and count the remainder

I have a list of case record types. I need a total # of cases that does not include 2 values (Cricital Failure and Non - Critical Failure). I want to be able to total the cases that do not include failures, in the example below, the total would be 3. I have stumbled quite a few times trying to figure this out. Any suggestions? 

 

Case NumberDate/Time OpenedSupport Type
1234561/1/19Critical Failure
1234571/1/19Critical Failure
1234581/1/19Data
1234591/2/19Account Maintenance
1234601/3/19Non - Critical Failure
1234611/4/19Product/Technical
3 REPLIES 3
harshnathani
Community Champion
Community Champion

Hi @Anonymous 
 
You can use the below measure.

Count of Cases =

COUNTROWS(
FILTER(
Data16,
NOT(Data16[Support Type] IN ({"Critical Failure","Non - Critical Failure"})
)
)
)
 
Data16 will correspond to the Name of your Table.
134.JPG

Hi @Anonymous ,

 

Please let me know if the solution workd for you.

 

Regards,

Harsh Nathani

camargos88
Community Champion
Community Champion

Hi @Anonymous ,

 

Try creating this measure:

 

Qtd Cases = CALCULATE(COUNT('Table'[Support Type]); FILTER(ALL('Table'); NOT 'Table'[Support Type] IN {"Critical Failure";"Non - Critical Failure"}))
 
Ricardo


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

Proud to be a Super User!



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.