Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Formula for multiple fields in the subset

svergtanya
7 - Meteor

Hi, I have a set of data, where I would like to check a time sequence of the events for the subset (id).
For example, 

for ID 1 I would like to check, that Event 71 happened before 72.

If the event didn't happen or in a wrong seq

ID TimestampEvent 1Event 2
12020-01-01 10:00:0071Send
12020-01-01 10:01:0072Receive
12020-01-01 10:02:0073Convert
22020-01-01 10:00:0071Send
22020-01-01 10:01:0073Convert
5 REPLIES 5
mbarone
16 - Nebula
16 - Nebula

Once you sort your data in the applicable order (maybe ID then Event 1), you'd use a Multi-Row formula tool.  

Emil_Kos
17 - Castor
17 - Castor

Hi @svergtanya,

 

I think this should help you!

 

Emil_Kos_0-1603455246425.png

Output:

 

Emil_Kos_1-1603455273291.png


Please mark as a solution if this was something helpful!

Emil_Kos
17 - Castor
17 - Castor

Hi @mbarone,

 

You aret otally right I forgot to add a sort tool!

Emil_Kos_0-1603455445812.png

 

 

Emil_Kos
17 - Castor
17 - Castor

Hi @svergtanya,

 

Happy to help.

Thank you for marking my position as an answer.

 

It is highly appreciated!

svergtanya
7 - Meteor

Thanks for your help! 

You saved me a lot of time and headache 🙂 

 

Labels