Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Turning values in a column into column headers sorted by warenumber

Hey,  So I have an issue in the way parts of the data stored in our database needs to be rearranged.    In the above picture, column "type" contains four different values. I would instead ...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

    How did you pivot the column [Type] in Power Query Editor? Could you please provide the related applied codes in Advanced Editor? Thank you.

    In addition, you can apply the below code in your Advanced Editor to achieve it.

    = Table.Pivot(#"Changed Type", List.Distinct(#"Changed Type"[Type]), "Type", "kNummer")

    Best Regards