Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello, I data from a survey that was collected. Each column is a survey question and each row is a participant. The cells are the text value for the answered response. I have 3 questions (Q1, Q2, Q3) that are the same with the same responses of Yes, No, or Unknown. I want to make a stacked column chart with the responses (yes, no, or unknown) as the x axis. The y axis would be the total count of each response with each of the break down colors being each question, so the legend would be the question. Hopefully that makes sense.
Is this possible? I am sure I would need to transform the data somehow but I am not sure what to do to get these results.
Thank you.
Solved! Go to Solution.
Hi @KB515 ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) Click "Transform Data" to enter the Power Query editor, select these three columns and click "unpivot only selected columns", then rename the two columns after transpose.
(3)Click "Apply and close" and then the result is as follows.
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.
Hi @KB515 ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) Click "Transform Data" to enter the Power Query editor, select these three columns and click "unpivot only selected columns", then rename the two columns after transpose.
(3)Click "Apply and close" and then the result is as follows.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.