cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SushiAddict
Frequent Visitor

Pivot + Unpivot Solutions

Hello,

 

I am trying to accomplish a table transformation  that I believe requires some for of unpivoting/pivoting, however I have not yet figured it out.

 

I am looking to transform a table from this:

 

TimeItem 1 ColorItem 2 ColorItem 3 ColorItem 1 SizeItem 2 SizeItem 3 Size
1BlueBlueYellow5310
2BlueGreenYellow5310
3GreenGreenYellow4310
4GreenGreenYellow4312
5GreenGreenYellow4312

 

To this:

 

TimeItemColorSize
1Item 1Blue5
1Item 2Blue3
1Item 3Yellow10
2Item 1Blue5
2Item 2Green3
2Item 3Yellow10

 

Any help is appreciated!

1 ACCEPTED SOLUTION
SushiAddict
Frequent Visitor
1 REPLY 1
SushiAddict
Frequent Visitor

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors