Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 65 | |
| 39 | |
| 33 | |
| 23 |