We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Projected Stock Calculation

Munjal
5 - Atom

I want to calculate Projected Stock column as per below table. 

ProductMonthDemandSupplySOHProjected StockProjected Stock Formula
A2024|0120001500560051005600-2000+1500
B2024|0230002000 41005100-3000+2000
C2024|0340003000 31004100-4000+3000
D2024|0450006000 41003100-5000+6000

Need to calculate this Projected stock for future 36 months and months will keep changing on rolling basis each cycle. 

Is there any good way to achieve this in Alteryx?

 

 

4 REPLIES 4
gawa
16 - Nebula
16 - Nebula

hi @Munjal 

You can use Multi Row Formula tool like this.

image.png

flying008
15 - Aurora

Hi, @Munjal 

 

FYI.

IIF(IsEmpty([Row-1:Projected Stock]), [SOH] - [Demand] + [Supply], [Row-1:Projected Stock] - [Demand] +[Supply])

 

录制_2024_02_01_14_14_43_228.gif

 

aatalai
15 - Aurora

The time series tool might also help (if you are looking for non forumla/model approach)

chaitanyaiys1
5 - Atom

HI

Labels
Top Solution Authors