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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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