04-11-2023 02:24 AM
Convert this
accountId | region | reporttype | count |
---|---|---|---|
1 | APAC | L1 Feedback Report | 2 |
1 | APAC | L2 Feedback Report | 2 |
2 | APAC | L1 Feedback Report | 6 |
2 | APAC | L2 Feedback Report | 4 |
3 | APAC | L1 Feedback Report | 17 |
3 | APAC | L2 Feedback Report | 4 |
3 | EU | L3 Feedback Report | 3 |
to below one
accountId | Region | L1 Feedback Report | L2 Feedback Report | L3 Feedback Report |
---|---|---|---|---|
1 | APAC | 2 | 2 | 0 |
2 | APAC | 6 | 4 | 0 |
3 | APAC | 17 | 4 | 0 |
3 | EU | 0 | 0 | 3 |
Note : the report type can have many values so don’t need static way of mapping fields
unique key here is accountid and region
04-11-2023 02:55 AM
Hi @vaidyarm,
You can try to achieve that the way I did in the below pipeline. Please note that this might not be the most optimal way achieving what’s needed.
–sl-comm-pivot-rows-to-columns_2023_04_11.slp (14.5 KB)
BR,
Aleksandar.
04-11-2023 03:29 AM
That worked perfectly
Thanks a Lot @AleksandarAngelevski 😀
08-14-2023 08:18 PM
Not able to download the slp file, is this broken as part of new community page migration?
08-15-2023 03:09 AM
We’re finding issues with some of the links and have an open issue with our vendor.