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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
PaulCo
Helper II
Helper II

Survey Response Rate

I'm pulling survey data from SFDC where a table diplays a survey score if a response has been received from a customer. 

 

I want to create a measure of the percentage of customers that have responded. Multiple surveys have been sent out to different contacts in each customer and we only need one of those responses to mark that customer as responded.

 

CustomerScore 
A7
A 
B6
B10
B9
C5
C 
D10
E 

 

In the above example we have 5 customers and 4 of them have submitted a response so the response rate would be 80%.

 

How do i calculate one response for each customer from the multiple scores?

 

Thanks

Paul

 

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

 

@PaulCo

 

Hi, try with this measure

 

Response Rate =
DIVIDE (
    CALCULATE (
        DISTINCTCOUNT ( Table1[Customer] ),
        FILTER ( Table1, Table1[Score ] <> BLANK () )
    ),
    DISTINCTCOUNT ( Table1[Customer] )
)

Regards

 

Victor

Lima - Peru




Lima - Peru

View solution in original post

3 REPLIES 3
Vvelarde
Community Champion
Community Champion

 

@PaulCo

 

Hi, try with this measure

 

Response Rate =
DIVIDE (
    CALCULATE (
        DISTINCTCOUNT ( Table1[Customer] ),
        FILTER ( Table1, Table1[Score ] <> BLANK () )
    ),
    DISTINCTCOUNT ( Table1[Customer] )
)

Regards

 

Victor

Lima - Peru




Lima - Peru

Perfect, just what I needed, Thanks!

jthomson
Solution Sage
Solution Sage

You're solely interested in whether there's been a reply or not? Try grouping the rows by customer in Power Query and summing the score column. If there's no replies, then this should sum to null, so you can get the total number of customers by countrows on your new table, and then the number of customers on that have replied by doing the same, but wrapping that in Calculate with the summed up response row not equal to blank.

 

Not sure whether you can get a response of zero which might break this response, if so you may need to put in a helper column that looks at whether the initial score column is blank and returning null if it is blank and 1 otherwise

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.