I need to arrange my data in a table which has only 3 columns - Site ID, attribute aggregation (Time + Metric + Type), Metric value. I tried using the transpose but that is not working. Can someone please suggest the best way to do this? Thanks!
Current
| Site | Period | Revenues | Units | Customer Type |
| 1 | TY | 100 | 10 | A |
| 1 | TY | 95 | 11 | B |
| 1 | LY | 105 | 9 | C |
Desired
| Site | Agg | Metric |
| 1 | TY Rev A | 100 |
| 1 | TY Units A | 10 |
| 1 | TY Rev B | 95 |
| 2 | | |
| 2 | | |