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

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
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.