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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
wdvro
Frequent Visitor

Visualisation multiple choice answers

Hello,

 

I took a survey where some questions allowed respondents to tick multiple response options. In my report, I would have liked to show the proportion of respondents who ticked a particular answer option, visualised in a bar chart.

With a simple example, this looks like this:

 

Data table:

 

wdvro_0-1693475453639.png

 

How I want this to be displayed in Power BI (now calculated in Excel):

 

wdvro_1-1693475483306.png

 

Thanks in adance

1 ACCEPTED SOLUTION
JoeBarry
Solution Sage
Solution Sage

Hi @wdvro 

 

You need to first find out how respondants there are. Presuming there is a ResponseID or UserID in the Data ?

Reposnses/Users = DISTINCTCOUNT('Table'[ResponseID])

 

Then Create this

 

% = DIVIDE([Responses/Users], CALCULATE([Responses/Users], ALL('Table')))

 

Convert to %

 

JoeBarry_0-1693476544606.png

 

 

Thanks

Joe

 

If this post helps, then please Accept it as the solution

View solution in original post

2 REPLIES 2
JoeBarry
Solution Sage
Solution Sage

Hi @wdvro 

 

You need to first find out how respondants there are. Presuming there is a ResponseID or UserID in the Data ?

Reposnses/Users = DISTINCTCOUNT('Table'[ResponseID])

 

Then Create this

 

% = DIVIDE([Responses/Users], CALCULATE([Responses/Users], ALL('Table')))

 

Convert to %

 

JoeBarry_0-1693476544606.png

 

 

Thanks

Joe

 

If this post helps, then please Accept it as the solution

Thank you, just what I was looking for! 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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