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
Anonymous
Not applicable

Calculate Passrate (CountIf)

Hello everyone,

I looked around at what's already asked, but it doesn't really work for me.

=COUNTIF([column1],">84.99")/COUNTIF([column1],"*")

The above is my Excel formula, and what I'm trying to do is calculate the passrate. Every score goes up to 100, and I'm trying to calculate the percentage of scores that have passed the above criteria. 

 

In Powerbi I have:

  • TableName: evaluations
  • Column: q_percent

 

Thank you in advance

 

2 REPLIES 2
Anonymous
Not applicable

Hi

 

You should use a combination of CALCULATE, COUNT & FILTER, as below:

 

CALCULATE(
COUNTROWS(evaluations),
FILTER(evaluations, [column1] > 84.99)
) 
/ 
COUNTROWS(evaluations)

 

Hope that helps

Anonymous
Not applicable

Thanks! The data is slightly different than before, so let me double check before I mark it as a solution haha.

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