Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hello all,
I have a very simple question. I have a very long table with many repatitive question. Here is an example:
I would like to tranform this table so as every question be under a unique column as follows:
Can please someone advice or send a similar case?
The values of the answers are both integer and text.
Please let me know.
Thank you,
Stavros
Hi @Anonymous,
In Power Query, do the following:
Hello,
In Power Query it is
let
Source = Excel.CurrentWorkbook(){[Name="Questions"]}[Content],
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Reference", Int64.Type}, {"Question", type text}, {"Answer", type text}}),
#"Pivoted Column" = Table.Pivot(#"Changed Type", List.Distinct(#"Changed Type"[Question]), "Question", "Answer")
in
#"Pivoted Column"
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 |
|---|---|
| 65 | |
| 64 | |
| 45 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 115 | |
| 114 | |
| 38 | |
| 36 | |
| 26 |