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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have data coming in the following format:
| Responder | Q1 | Q2 | Q3 | Q4 | Q5 |
| Joe | Disagree | Strongly Agree | Strongly Disagree | Agree | Strongly Disagree |
| Jim | Agree | Strongly Agree | Disagree | Neutral | Neutral |
I'm needing to convert the data into the following structure:
| Responder | Question | Answer |
| Joe | Q1 | Disagree |
| Joe | Q2 | Strongly Agree |
| Joe | Q3 | Strongly Disagree |
| Joe | Q4 | Agree |
| Joe | Q5 | Strongly Disagree |
| Jim | Q1 | Agree |
| Jim | Q2 | Strongly Agree |
| Jim | Q3 | Disagree |
| Jim | Q4 | Neutral |
| Jim | Q5 | Neutral |
I've tried Transpose and Pivot but those are not getting the data like I need it. Any suggestions on how to acheive this.
Solved! Go to Solution.
In Power Query (M) you should be able to select the responder column, and then select 'unpivot other columns' from the right-click context menu to transform the data to the required format.
In Power Query (M) you should be able to select the responder column, and then select 'unpivot other columns' from the right-click context menu to transform the data to the required format.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 142 | |
| 123 | |
| 102 | |
| 79 | |
| 54 |