Group by one field and sum other in Function

Hey @mvandyk, I am afraid the transformation you have in mind would require a bit of code. Based on this approach I used earlier, I’d suggest something like this:

This would add a new includedItems and total field for each of your CLI values which you can of course rename as needed:

1 Like