Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello.
Can you help to dynamically transform and transpose a table :
ID | Product.No | Product.Value |
123 | 10 | 300 |
123 | 20 | 100 |
123 | 30 | 200 |
222 | 30 | 123 |
222 | 20 | 432 |
222 | 10 | 151 |
111 | 20 | 878 |
111 | 10 | 656 |
111 | 30 | 545 |
Final result
Customer.ID | Product.No 10 (Vase) | Product.No 20 (Glass) | Product.No 30 (Pan) |
111 | 656 | 878 | 545 |
123 | 300 | 100 | 200 |
222 | 151 | 432 | 123 |
Thanks
please check the attached
When you say 'dynamically', do you mean doing the operation in the front end? If you plan to do the transform in the back end (load script), then generic load is the way to go.
This is simple enough to do in the front end. Create a pivot table with the customer and product dimensions, and drag the product dimension to the top of the table.
please check the attached