Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Transform month(date) columns to rows

Hello to you that reads this!

 

I'm having a hard time with this situation, any suggestion will be very appreciate!

 

This dataset I'm working on came with the sales values splitted in "month columns", like this:

 

How is the best way to work with it? I can't filter it by month, I can't work with date intelligence ðŸ˜¢ .

 

I guess the best way is to transform this columns into rows, kind like this:

 

Am I right? If so, PowerBI does this? The "Columns to Row" option didn't seems to work like this.

 

Best regards! Stay safe.

Vinicius.

    1. Go to Transform Data
    2. Click on the IDSales and NameProd columns
    3. Right-click and select "Unpivot Other Columns"

    That will normalize the data for you.

4 Replies