Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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...