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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Help writing an expression

Hi all,

I'm trying to write an expression for a vacancy no response rate.

Basically, I have a column with 75 unique vacancy reference numbers, and a column saying how many CV's were sent to each.

I want to make a measure which calculates the percentage figure of 0 Cvs sent over total rows.

Would look something like = count Number of Cvs sent=0 / count rows

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Try this measure.

 

Did not respond =

Var a = CALCULATE(DISTINCTCOUNT('Table'[Ref No]),ALL('Table'))
var b = CALCULATE(COUNT('Table'[CV's Sent]),KEEPFILTERS('Table'[CV's Sent] = 0))
var c = COUNTROWS(FILTER('Table','Table'[CV's Sent] = 0))

RETURN
DIVIDE(c,a)
 
 
Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

View solution in original post

3 REPLIES 3
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

 

Try 

 

CV Sent% =

var b = CALCULATE(SUM('Table'[CV's Sent]),ALL('Table'))
RETURN
DIVIDE(MAX('Table'[CV's Sent]),b)
 
 
1.jpg
 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Anonymous
Not applicable

Hi @harshnathani I appreciate the response, however I think I might not have explained myself clearly enough.

I just want a % of vacancies we didn't respond to.

e.g. in your table the final value would be 25%.

Hi @Anonymous ,

 

Try this measure.

 

Did not respond =

Var a = CALCULATE(DISTINCTCOUNT('Table'[Ref No]),ALL('Table'))
var b = CALCULATE(COUNT('Table'[CV's Sent]),KEEPFILTERS('Table'[CV's Sent] = 0))
var c = COUNTROWS(FILTER('Table','Table'[CV's Sent] = 0))

RETURN
DIVIDE(c,a)
 
 
Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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