The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.