Hi everybody!
I need your help to solve my issue.
I need to do a merge/transpose column and leave some columns fixed.
Ex.:
Car | State | City | Part1 | Part2 | Part3 | Part4 |
BMW | MI | Detroit | 1 | 2 | 3 | 4 |
BMW | MI | Detroit | 5 | 6 | 7 | 8 |
BMW | MI | Detroit | 9 | 10 | 11 | 12 |
Jaguar | UT | SLC | 20 | 21 | 22 | 23 |
Jaguar | UT | SLC | 24 | 25 | 26 | 27 |
Jaguar | UT | SLC | 28 | 29 | 30 | 31 |
I need this exit below for BMW:
Car | State | City | Part |
BMW | MI | Detroit | 1 |
BMW | MI | Detroit | 2 |
BMW | MI | Detroit | 3 |
BMW | MI | Detroit | 4 |
BMW | MI | Detroit | 5 |
BMW | MI | Detroit | 6 |
BMW | MI | Detroit | 7 |
BMW | MI | Detroit | 8 |
BMW | MI | Detroit | 9 |
BMW | MI | Detroit | 10 |
BMW | MI | Detroit | 11 |
BMW | MI | Detroit | 12 |
Thanks a lot!!!
Gustavo.