Display the results of a multiple-choice questions in a single graph

Hello everyone.

How can I display the results of a multiple-choice questions in a single graph showing percentages? Does Locker support this feature, or is there an alternative solution to create such results?

Best.

Solved Solved
0 5 254
1 ACCEPTED SOLUTION

Ah, OK. So in this video, the starting data is like this:

Response ID Question 1 Question 2 Question 3
1 Yes No No
2 Yes Yes Yes
3 Yes No Yes
4 Yes No No

And then they change it into a table like this:

Question number Percent Yes Responses
1 100%
2 25%
3 50%

From there, the table can be visualized. The same is true in Looker studio - the second table could easily be visualized as a bar chart, but the first one cannot. So the question is how to transform the first table into the second table.

In the video, they use Power BI's transforming capabilities to unpivot the spreadsheet columns into rows. Looker Studio doesn't have such capabilities, so we'll need to apply some workarounds.

Step 1: For each question, create a percentage metric. The formula will look something like this: COUNT(IF(`Question 1`= "Yes",`Response ID`,null)) / COUNT(`Response ID`)

The numerator only counts responses where the user answered Yes for Question 1. The denominator counts all responses. Dividing these two gets us our percentage. 

Step 2: Create a bar chart with all of the metrics you created in Step 1. Each bar will show up with a different color, because it's a different series.

Step 3: Apply styling for polish. In the example image here, I edited a few things:

  • Setup: Set the format of each measure to percent
  • Setup: Change the title of each question to be easier to read
  • Style: Hide the Y axis title 
  • Style: Show data labels

I hope this helps you as a starting point! 

Screenshot 2025-03-17 at 12.10.55 PM.png

View solution in original post

5 REPLIES 5

Can you explain more how you'd like to present the data? You said you wanted to show multiple choice questions in a single graph with percentages. 

Are you thinking of maybe a bar chart, where each bar is a question? And the number of responses are tallied up to show percentages on that bar? I'll share an example image of what I'm thinking of.

Screenshot 2025-03-07 at 12.33.00 PM.png

For an example like the image I shared, your data would need to be in a form like this:

 

Question Sum of Choice 1 Sum of Choice 2 Sum of Choice 3
Question 1 398 231 523
Question 2 85 234 479
Question 3 634 46 124

 

Thank you Dear Sam,

In short, how to analyze Yes/No Multiple response survey questions in Looker studio,

see this video to my Q ,but this in Power BI.

https://www.youtube.com/watch?v=9cTQ3vUWh4k

In short, how to make this results, but with Locker Studio

Ah, OK. So in this video, the starting data is like this:

Response ID Question 1 Question 2 Question 3
1 Yes No No
2 Yes Yes Yes
3 Yes No Yes
4 Yes No No

And then they change it into a table like this:

Question number Percent Yes Responses
1 100%
2 25%
3 50%

From there, the table can be visualized. The same is true in Looker studio - the second table could easily be visualized as a bar chart, but the first one cannot. So the question is how to transform the first table into the second table.

In the video, they use Power BI's transforming capabilities to unpivot the spreadsheet columns into rows. Looker Studio doesn't have such capabilities, so we'll need to apply some workarounds.

Step 1: For each question, create a percentage metric. The formula will look something like this: COUNT(IF(`Question 1`= "Yes",`Response ID`,null)) / COUNT(`Response ID`)

The numerator only counts responses where the user answered Yes for Question 1. The denominator counts all responses. Dividing these two gets us our percentage. 

Step 2: Create a bar chart with all of the metrics you created in Step 1. Each bar will show up with a different color, because it's a different series.

Step 3: Apply styling for polish. In the example image here, I edited a few things:

  • Setup: Set the format of each measure to percent
  • Setup: Change the title of each question to be easier to read
  • Style: Hide the Y axis title 
  • Style: Show data labels

I hope this helps you as a starting point! 

Screenshot 2025-03-17 at 12.10.55 PM.png

Hi Sam,

Thank you so much for your time and effort in proposing this solution. I believe it’s an excellent approach and aligns well with our Purpose.