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.

Multi-row formula - subtract hours from a start date

bchen1
6 - Meteoroid

Hi - I have a dataset structured like the table below where I have products that need to go through a set of processes with various cycle times. I'm looking to create a multi-row formula/tool that groups by the Product and gives the LatestStartTime for each process, working back from the EndDate and the prior process. In the "LatestStartTime" I show the desired output.

 

ProductProcessEndDateHoursInProcessLatestStartTime (DESIRED OUTPUT)
ProductAProcess11/31/2023481/26/2023
ProductAProcess21/31/2023481/28/2023
ProductAProcess31/31/2023241/30/2023
ProductBProcess11/31/2023241/22/2023
ProductBProcess21/31/2023241/24/2023
ProductBProcess31/31/2023241/26/2023
ProductBProcess41/31/2023721/28/2023

 

Thanks for any advice/input here!

2 REPLIES 2
ArtApa
Alteryx
Alteryx

Hi @bchen1 - Please see a possible solution below:

ArtApa_0-1675220853154.png

 

Raj
16 - Nebula

Great logic  !

Labels
Top Solution Authors