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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
jcastr02
Post Prodigy
Post Prodigy

Help with a AND & Countrows Measure

Need help with a formula.  Looking to countrows of any Status that is equal to 'In Progress' AND the Overdue is equal to 'Yes.'  Also I'd like that if the count is blank to show "0"  vs. (blank).    I've gotten this far: but stuck....with the AND piece

 

Measure

# Overdue TeamMember = if(isblank(countrows(filter(filter('x-Coaching-Sharepoint','x-Coaching-Sharepoint'[Status]="In Progress"),'x-Coaching-Sharepoint'[OverdueTeamMember?]="Yes"))),0,countrows(filter(filter('x-Coaching-Sharepoint','x-Coaching-Sharepoint'[Status]="In Progress"),'x-Coaching-Sharepoint'[OverdueTeamMember?]="Yes")))
 
Example of Table
DateStatusOverdueTeamMember?
11/1/2021In ProgressYes
11/2/2021In ProgressYes
11/3/2021In ProgressYes
11/4/2021In ProgressNo
11/5/2021In ProgressNo
11/6/2021In ProgressNo
11/7/2021DraftYes
11/8/2021DraftYes
11/9/2021DraftYes
11/10/2021DraftYes
11/11/2021DraftYes

 

 

1 REPLY 1
lbendlin
Super User
Super User

Your request is not completely clear. Which visual will contain the measure and how?

 

Measure = CALCULATE(COUNTROWS(ALLSELECTED('Table')),'Table'[Status]="In Progress",'Table'[OverdueTeamMember?]="Yes")+0

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors