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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Stephie679
Regular Visitor

COUNTIFS in Power BI

Help! I'd like to convert a COUNTIFS statement from Excel to Power BI. In excel, I have a COUNTIFS statement as follows: =COUNTIFS(T:T,"F",AT:AT,"Management",BC:BC,"M10",BC:BC,"M11",BC:BC,"M12"). Essentially, what i want to do is count the number of "F" in a column if the F also has "Management" in another column and IF the F is also in Grade M10-M12.

Stephie679_0-1665752102611.png

 

Thank you

 

1 ACCEPTED SOLUTION
JorgePinho
Solution Sage
Solution Sage

= CALCULATE(COUNT([GENDER]), [Gender] = "F", [Empl Class] = "Management", [Grade] = "M10" || [Grade] = "M11" || [Grade] = "M12")

View solution in original post

1 REPLY 1
JorgePinho
Solution Sage
Solution Sage

= CALCULATE(COUNT([GENDER]), [Gender] = "F", [Empl Class] = "Management", [Grade] = "M10" || [Grade] = "M11" || [Grade] = "M12")

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.