Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hey there,
I'm very new to Power BI, so I'm sure this is simple however I can't work it out. I need to make a simple response rate calculation column whereby I'm dividing the count of donors by the number solicited for each segment and display as a %, any help appreciated, thanks!
Solved! Go to Solution.
Ah shoot, sorry. Force of habit! (I use variations of the formula I gave you a lot). Just remove the -1
Response Rate = DIVIDE(COUNTA(Spring18[Donors]),AVERAGE(Spring18[Number Solicited]),0)
Are the Count of Donors and Number Solicited fields measures or columns?
Try adding the below measure if measures:
=DIVIDE([Count of Donors],[Number Solicited),0)-1
If columns
=DIVIDE(SUM(Count of Donors),SUM(Number Solicited),0)-1
Thanks for the reply, I think they columns - the count of donors is a count function and number solicited not summarized.
I get this error using the measure formula:
The following syntax error occurred during parsing: Invalid token, Line 1, Offset 26, [Number Solicited),0)-1)).
And this error using the columns formula:
The syntax for 'of' is incorrect. (DAX(DIVIDE(SUM(Count of Donors),SUM(Number Solicited),0)-1)).
I'm a little confused. Can you send a screenshot of the table(s) where the two columns are?
No problem, here you go:
Update the Number Solicited column to a whole number and create the below measure:
Response Rate = DIVIDE(COUNTA(Spring18[Donors]),AVERAGE(Spring18[Number Solicited]),0)-1
Thanks for you help with this! The formula gives a result, although it still doesn't look right - see below.
Ah shoot, sorry. Force of habit! (I use variations of the formula I gave you a lot). Just remove the -1
Response Rate = DIVIDE(COUNTA(Spring18[Donors]),AVERAGE(Spring18[Number Solicited]),0)
hello, may I know why you used average?
That works! Thank you so much.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
79 | |
58 | |
36 | |
35 |
User | Count |
---|---|
99 | |
56 | |
56 | |
46 | |
40 |