Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello,
I need to convert this table:
question_text | answer | id_event |
ABC | OPL | 1 |
GHI | UIL | 1 |
DEF | LLK | 1 |
Into:
id_event | ABC | GHI | DEF |
1 | OPL | UIL | LLK |
I have tried:
Table.Pivot(#"Previous Step", List.Distinct(#"Previous Step"[question_text]), "question_text", "answer")
But this is returning the error:
Expression.Error: There are too many elements in the enumeration to conclude the operation.
Details:
[List]
Solved! Go to Solution.
Hi @webportal
It's working for me:
= Table.Pivot(#"Encabezados promovidos", List.Distinct(#"Encabezados promovidos"[question_text]), "question_text", "answer")
I have put this:
The error will drop if your resulting table contains duplicated column names. Some topics treat it: https://community.fabric.microsoft.com/t5/Power-Query/There-were-too-many-elements-in-the-enumeratio...
Hi @webportal
It's working for me:
= Table.Pivot(#"Encabezados promovidos", List.Distinct(#"Encabezados promovidos"[question_text]), "question_text", "answer")
I have put this:
The error will drop if your resulting table contains duplicated column names. Some topics treat it: https://community.fabric.microsoft.com/t5/Power-Query/There-were-too-many-elements-in-the-enumeratio...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
31 | |
29 | |
19 | |
15 | |
12 |
User | Count |
---|---|
20 | |
18 | |
13 | |
10 | |
10 |