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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Maz_0102
Helper I
Helper I

how to do count if(s)

Hi guys

 

i want to do count if on the amount of values i have in a table using a condition on a status column 

 

i want to exclude declined only counting approced and submitted

 

please can you advise

 

in excel it would be a normal countifs =COUNTIFS(status column, "<>declined")

 

 

Maz_0102_0-1649844012154.png

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Maz_0102 
Using a measure In DAX we write
CALCULATE ( COUNTROWS ( Table ), Table[status column] <> "declined" )

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Maz_0102 
Using a measure In DAX we write
CALCULATE ( COUNTROWS ( Table ), Table[status column] <> "declined" )

@tamerj1 thank you so much!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.