Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Create a bar chart from Multiple Columns

Hi, I have some columns like this:   Application Melbourne? Sydney? Brisbane? New York? Pacman Yes   Yes Yes Pinball Yes Yes     Space Invaders Yes   Yes   Street Fig...
  • PaulDBrown's avatar
    5 years ago

    Anonymous 

     

    The easiest way is to unpivot the city columns in Power Query. Select the query, select the "city" columns" and choose "unpivot columns" in the ribbon:

     

    This will ransform the table to this structure, where you now have th cities as a column which you can use in the visuals as a field.

     

    You can now create you visuals. For example: