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

Evaluate a series of IDs within a group and flag when any of the IDs Repeats.

JPSeagull
8 - Asteroid

I am trying to resolve a challenge given me.

 

I have a series of Tasks with lines tracking actions on kits that are used which is straightforward. However, when within the same Task ID, we want to know if any of the Kits are repeated. That is, if the kits used are cycled through and then one used earlier in the series is brought back, we need to flag that. What compounds this we have NULLs which I can filter out. 


I tried to use the Multi-row formula, but I get the error that the Kit ID is an unknown variable.

 

JPSeagull_1-1643740514526.png

 

In the end, I am trying to build out a summary view like below either in Alteryx or take the pre-summarized data over to Tableau to do this.

Task IDTotal EntriesKit Repeated after Break?
10015Yes
10024No
10038No
10049Yes
100511No
10064No
100714Yes
13 REPLIES 13
JPSeagull
8 - Asteroid

@gabrielvilella Yes, I realized my input data had leading and trailing spaces as well.

 

Thank you for the workflow. It helps advance towards a solution, but I am not there yet. I am hoping to indicate 

 

 Task ID  Entry ID Kit IDKit Repeated between Kit(s)?
1001193No
1001293No
10013241No
10014241No
1001593Yes
gabrielvilella
14 - Magnetar

Thank you for this explanation. I understand now what you are trying to do. Please see if this is it.

gabrielvilella_0-1643747359218.png

 

JPSeagull
8 - Asteroid

@gabrielvilella your solution is GENIUS!  I cannot thank you enough as I spent a week working this in Tableau and finally a colleague insisted I try it in Alteryx. I hope to eventually learn how to do this myself.

Thank you so very much!

gabrielvilella
14 - Magnetar

Happy to help @JPSeagull :) 

Labels
Top Solution Authors