Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

How to group by (and sum) entity list using liquid script?

$
0
0

Hello,

I have requirement where I have to group column and calculate sum of another column based on groups. for example check below:

ID  key value
---------
1    aaa 5
2    aaa 3
3    bbb 2
4    bbb 3
5    bbb 4
Output
key sum_of_value
---------
aaa 8
bbb 9
I am not sure weather is it possible to do or not, this link shows how to group - https://docs.microsoft.com/en-us/dynamics365/customer-engagement/portals/liquid-filters (see group_by section).
I tried like shown in below image, but I am not sure it can be used like this.
Anybody tried it before?
Regards,
Ashish

Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images