Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
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) | test@GMAIL.COM |
| 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 | test@GMAIL.COM | 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.
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 |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |