11.3 Group by expression
Here below is a data table:
We want to group and aggregate by the first two digits of ID, and calculate the total sales of each group:
=spl("=E(?1).groups(left(ID,2):ID;sum(Sales):Sales)",A1:C25)
esProc Desktop and Excel Processing
11.2 Group by combination of multiple columns
11.4 Group by segment
SPL Official Website 👉 https://www.scudata.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProc_Desktop/
SPL Learning Material 👉 https://c.scudata.com
Discord 👉 https://discord.gg/cFTcUNs7
Youtube 👉 https://www.youtube.com/@esProcDesktop
Linkedin Group 👉 https://www.linkedin.com/groups/14419406/