Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Pivot or Unpivot table to separate columns

Hi all,   How is it that you pivot or unpivot columns?  so far i've succeded with trial and error, but for some reason i cant figure out how to transform this data properly.   Im looking to have ...
  • Maddy99's avatar
    7 years ago

    PowerBI has a button that could help you easy.

    1) go to query editor.

    2) select the 2 columns (number and atribute) for you

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    3) click on "Pivot" in the transform menu.

    4) choose "number" as your value. 

    you can choose the default sum or do not aggegrate as an option. but the default would work to. 

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    i hope this would work for you.