Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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