Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

pivot data

hello,   I am new to powerbi. I have tried to use my data below to pivot to my desired output and i am struggling and it is not working. Any help will be definitely helpful to me.   period Ca...
  • Anonymous's avatar
    Anonymous
    9 years ago

    In the query editor, select your Period column and hit Unpivot Other Columns. Then select Period again and hit Pivot Column. Value should be the Values column, then open the advanced options and change it to Don't Aggregate.

  • Sean's avatar
    Sean
    9 years ago

    I would only select Period and Upivot Other Columns

    Then create a Matrix place Period in Columns, Category (Attribute) in Rows and Value in Values

    The data will remain in better shape for analysis than your final desired output but you'll still be able to achieve it :smileyhappy: