March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hey everybody,
I try to visualize the results of a survey. I have five columns, which are all filled with yes or no. Now I want to create a diagram that shows for each of the five colums the amount of the answer "yes". Thus, the diagram should show the amount of yes answers for question 1, question 2, question 3, question 4 and question 5.
Best,
Tobias
Solved! Go to Solution.
If @bblais is correct, which I imagine he is given your description, go to the query editor and select the responder column. Right click and select "Unpivot Other Columns" (rename Attribute and Value if you want).
Close and apply, then create a visual (bar chart works well here) and add Attribute to axis, Value to legend, and Value to value (changing it to count for the aggregation):
So your data is something like this?
Responder | Q1 Answer | Q2 Answer | Q3 Answer | Q4 Answer | Q5 Answer |
1 | yes | yes | no | yes | no |
2 | yes | no | no | yes | no |
3 | no | yes | no | yes | yes |
4 | yes | no | yes | yes | no |
5 | yes | yes | no | no | yes |
If not, can you please post an example of the data to help make sure we can give you the best solution?
If @bblais is correct, which I imagine he is given your description, go to the query editor and select the responder column. Right click and select "Unpivot Other Columns" (rename Attribute and Value if you want).
Close and apply, then create a visual (bar chart works well here) and add Attribute to axis, Value to legend, and Value to value (changing it to count for the aggregation):
Thank you so much. It works!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |