Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
I have a set of data that looks like the below;
| ConfirmationId | Answers.Questions.QuestionName | Answers.TextAnswer |
| 330478 | BOOKING REQUEST DATE | 17.01.20 |
| 330478 | CANDIDATE EMAIL (NC) | [email protected] |
| 330478 | INVOICE TO mandatory | CANDIDATE TO POD |
| 330478 | COST CODE | NA |
| 330478 | etc.... | etc..... |
I want the data to look like this below;
| ConfirmationId | BOOKING REQUEST DATE | CANDIDATE EMAIL (NC) | INVOICE TO mandatory | COST CODE | etc.... |
| 330478 | 17.01.20 | [email protected] | CANDIDATE TO POD | NA | etc.... |
I need this to work for as many column names that are listed in the first table (which is more than what I've shown).
Solved! Go to Solution.
Fortunately for you, this will still work, even on text 🙂
Just select your second and third column. Then do pivot, in advanced options choose MAX instead of COUNT and in your "values" column use your Answers.textanswer column.
Tadaaa 🙂
Jaap
Refer, this can help
Thanks for the quick reply. I did try to pivot the column but I don't have numbers in the values column it is text data.
Fortunately for you, this will still work, even on text 🙂
Just select your second and third column. Then do pivot, in advanced options choose MAX instead of COUNT and in your "values" column use your Answers.textanswer column.
Tadaaa 🙂
Jaap
Perfect!
Thankyou all.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 20 | |
| 11 |
| User | Count |
|---|---|
| 62 | |
| 55 | |
| 47 | |
| 44 | |
| 37 |