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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

Top Kudoed Authors