Forum Discussion

LEC's avatar
LEC
Frequent Visitor
9 years ago
Solved

Pivoting

I'm sure this has been asked, but I'm still struggling to make the data pivot in the way that I want it to.   I have a query connected to Power BI with data pulling back by week since 2016, like th...
  • Sean's avatar
    9 years ago

    LEC

    In the Query Editor...

    1) Unpivot Sales & Inventory

    2) Merge Year and Atrribute

    3) Pivot the Merged Column (Don't Aggregate)

    As shown here...

    Hope this helps! :smileyhappy: