Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Create a variable and use it to filter

masiain
5 - Atom

Hello, I have the following output:

 

IDContent
1/etc/passwd
1root:!:0:0:Usuario De Sistema Operativo Super-User:/root:/usr/bin/ksh
2/etc/hosts.equiv
2el archivo no existe /etc/hosts.equiv
3/etc/hosts.allow
3el archivo no existe /etc/hosts.allow
4/etc/hosts.deny
4el archivo no existe /etc/hosts.deny
5

/etc/security/user

 

 

I am trying to do a search to find the "/etc/passwd" on Content column and then save the related ID into a variable, then use that variable into a filter tool and filter only the ID column with the variable.

The ID's are not always the same so harcoding the number into the filter does not work for the solution.

 

1 REPLY 1
CharlieS
17 - Castor
17 - Castor

Hi @masiain 

 

I've attached a workflow that shows two methods to achieve the desired result: one using the Filter tool as requested, and another using a Join tool. Let me know if this works for you. 

Labels