6.12 Filter by maximum or minimum value within a group (find out one for each group)
We have an Excel table for the daily sales of products:
The code below is to find out the product with the largest daily sales and its sales:
=spl("=E(?1).group(OrderDate).(~.maxp(Sales))",A1:C2401)
esProc Desktop and Excel Processing
6.11 Use group’s aggregation value when filtering
6.13 Find out interval in which a certain condition occurs continuously
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/