Alteryx Designer Desktop Discussions

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

Data Sequencing Linkgage

Sequencing
5 - Atom

I'm struggling to describe this problem so it's proving elusive to search for a solution. I trust, however, that there's a way forward with Alteryx. Here's the scenario: 

 

We have layouts that are effective for periods of time.  When new ones arrive, they succeed prior versions of those layouts.  The data has a layout ID which is unique to each event, and a prior layout ID along with effective dates.  The effective dates are not necessarily reliable are are included here for illustration purposes.

 

I need to link these sequences of layouts together as a 'layout group' so I can run analysis on what has changed with these layouts. I've been playing with a multi-row formula but am struggling to put my thumb on the process to make this work. 

 

Here's what initial data might look like:

 

Current LayoutPrior LayoutFromTo
141212/1/20181/1/2019
131112/1/20181/1/2019
121011/1/201812/1/2018
11911/1/201812/1/2018
10810/1/201811/1/2018
9710/1/201811/1/2018
869/1/201810/1/2018
759/1/201810/1/2018
648/1/20189/1/2018
538/1/20189/1/2018
427/1/20188/1/2018
317/1/20188/1/2018

 

And this is what I'm looking to transform it to, with the layout grouping to flag:

 

Current LayoutPrior LayoutFromToLayout Group
131112/1/20181/1/201913
11911/1/201812/1/201813
9710/1/201811/1/201813
759/1/201810/1/201813
538/1/20189/1/201813
317/1/20188/1/201813
141212/1/20181/1/201914
121011/1/201812/1/201814
10810/1/201811/1/201814
869/1/201810/1/201814
648/1/20189/1/201814
427/1/20188/1/201814

 

And as a side question, what in the world would this exercise be called?  I'm sure it's been done before but am struggling to name it.

2 REPLIES 2
Thableaus
17 - Castor
17 - Castor

Hi @Sequencing 

 

Make Group tool will make your job easy.

 

MakeGroup.PNG

Using Make Group tool you separate the layout groups. Then you get the max value of each group and join that to your dataset.

 

Cheers,

Sequencing
5 - Atom

That is absolutely perfect.  Thank you!

Labels