Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need assistance to calculate the response rate per person, based on test number, for the following table
Test Number | Name | Device | Response |
Test 1 | Josh | Mobile | No response |
Test 1 | Josh | Home | Yes |
Test 1 | Mike | Mobile | No response |
Test 1 | Mike | Home | No response |
Test 2 | Josh | Mobile | Yes |
Test 2 | Josh | Home | / |
Test 2 | Mike | Mobile | Yes |
Test 2 | Mike | Home | / |
Test 3 | Josh | Mobile | Yes |
Test 3 | Josh | Home | / |
Test 3 | Mike | Mobile | No response |
Test 3 | Mike | Home | Yes |
If the person does not pick up their first device, the second device is automatically called. If they do pick up the first
device then the second device is not called(hence "/" symbol).
For instance for "test 1" since josh replied on his home phone his overall "pick" up response is yes. Thus his total response rate for all three tests is (3/3) 100%. Mikes response rate is (2/3)66.7%
Solved! Go to Solution.
[Pick Up Response Rate] = var __numberOfYeses = CALCULATE( COUNTROWS( T ), T[Response] = "Yes" ) var __numberOfTests = DISTINCTCOUNT( T[Test Number] ) var __ratio = DIVIDE( __numberOfYeses, __numberOfTests ) return __ratio
Best
Darek
[Pick Up Response Rate] = var __numberOfYeses = CALCULATE( COUNTROWS( T ), T[Response] = "Yes" ) var __numberOfTests = DISTINCTCOUNT( T[Test Number] ) var __ratio = DIVIDE( __numberOfYeses, __numberOfTests ) return __ratio
Best
Darek
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
19 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
25 | |
10 | |
10 | |
9 | |
6 |