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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have a table that has a column filled with questions, and another column with applicable respoonses to those questions. I'm hoping I can transform this table using Power Query so that each question is a column header and the value in that column is the response. A sample of the table as-is now and what I'd like for it to look like is posted below:
Table now:
| Company | Question | Response |
| Acme | Question 1 | Yes |
| Acme | Question 2 | No |
| Acme | Question 3 | 50 |
| Acme | Question 4 | Blue |
My desired result:
| Company | Question 1 | Question 2 | Question 3 | Question 4 |
| Acme | Yes | No | 50 | Blue |
Solved! Go to Solution.
Just Pivot with no aggregation
Table.Pivot(#"Previous Step", List.Distinct(#"Changed Type"[Question]), "Question", "Response")
Hi @mterry , Could you please try this
Thanks for the response - I didn't get a chance to try as the previous response worked.
Just Pivot with no aggregation
Table.Pivot(#"Previous Step", List.Distinct(#"Changed Type"[Question]), "Question", "Response")
Thanks this worked!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 6 | |
| 6 | |
| 6 |