In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Sum over specific rule

Ahacibo
6 - Meteoroid

Hello, I've looked around and haven't found something similar to my need, so hoping someone can assist.

 

Based on sample data loaded, I am looking for a way to calculate a sum of produced orders for each field per product ID for 4 days (4 is a variable).

The picture shows the desired values in the column "4 days sum".

 

Ahacibo_1-1663251590579.png

 

Thanks in advance!

 

4 REPLIES 4
grazitti_sapna
17 - Castor

@Ahacibo , Please find the solution attached you just need to use Multi-Row Formula

grazitti_sapna_0-1663253659823.png

 

Sapna Gupta
MilindG
12 - Quasar

Heres the solution

OllieClarke
16 - Nebula
16 - Nebula

@Ahacibo 

Here's how I'd do this: If you want to change the number of days, you can update the formula tool

OllieClarke_0-1663253848220.png

 

Ahacibo
6 - Meteoroid

Thank you all for the solutions sent.

Labels
Top Solution Authors