Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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...
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
12 | |
9 | |
8 |
User | Count |
---|---|
17 | |
9 | |
8 | |
7 | |
7 |