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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Response rate by sub department by survey cycle

I am able to create a response rate by number of responses/total invites. However, I was asked to filter it by sub department and by cycle.

 

I have 2 tables: one is a merged table from 6 survey cycles from MS Forms (all dummy data because surveys will be released next year). There's no total invites sent and only received data.

 

second is a table of sub departments of a Finance deparment, cycles, and total invites 

 

When i calculated my response rate, it does not filter by sub departments/work area but it gets its total from the Invited column. Here is my formula for the measure:

 

Response Rate =

    var responses = DISTINCTCOUNT('Combined data'[Merged])

    var total = SUM('Work Area'[Invited])

return

    DIVIDE(responses , total)

 

I also tried this but didnt work

 

Response Rate =

VAR responses = CALCULATE(DISTINCTCOUNT('Combined data'[Merged]), ALL('Work Area'))
VAR total = CALCULATE(SUM('Work Area'[Invited]), ALL('Combined data'))

RETURN
DIVIDE(responses , total)

 

My concern here is there's no table with uinque values because the one below here has to have a cycle indicated per work area (6 cycles total)

 

Work AreaSurvey CycleInvited
AAACycle 110
BBBCycle 119
CCCCycle 110
DDDCycle 19
EEECycle 16
FFFCycle 17

 



2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Please try this measure:

Response Rate =

VAR responses = CALCULATE(DISTINCTCOUNT('Combined data'[Merged]), ALLSELECTED('Work Area'))
VAR total = CALCULATE(SUM('Work Area'[Invited]), ALLSELECTED('Combined data'))

RETURN
DIVIDE(responses , total)

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

lbendlin
Super User
Super User

Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.