Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
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
15 - Aurora
15 - Aurora

@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