Forum Discussion

e175429's avatar
e175429
Icon for Helper IV rankHelper IV
9 months ago
Solved

Expression.Error: There were too many elements in the enumeration to complete the operation.

Hello all,   This is my data, raw:   I need it to be in this format: (These I manually created, but my data is over 20,000 rows and I can't manually do them all.)   In power query,...
  • Jai-Rathinavel's avatar
    9 months ago

    e175429 I believe buffering the table would remove the enumeration error. I have tried to replicate your requirement using a mockup data and have achieved the output you are expecting. The PBIX file is attached for your reference. 

    Input Data:

    Output:


    You can remove the last before step if you want to display nulls instead of "No Response" for the users who haven't answered the questions.

    Hope this helps !

    Thanks,
    Jai