We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

find disinct strings across multiple columns

Diarmuid
5 - Atom

using the columns highlighted in green below as input, I want to create the blue columns as output, whereby I determine the number of distinct strings, and then list them. The first part [count distinct] is easy, but I am unable to find a way to do the latter, i.e. find the distinct strings across all the input columns, and list them. Any and all help greatly appreciated. thanks

 

Diarmuid_0-1630672593972.png

 

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @Diarmuid 

 

Edit: I had missed out few requirements. Updating my workflow.

Here is how you can do it.

Workflow:

atcodedog05_0-1630674150100.png

 

Hope this helps : )

Christina_H
14 - Magnetar

Here's my solution:

Christina_Hurrell_0-1630673353366.png

 

AngelosPachis
16 - Nebula

Hey @Diarmuid ,

 

Here's my take on it

 

AngelosPachis_0-1630673641176.png

 

 

If you are sure that you will always get 4 columns at your input, I think @Christina_H solution works better as it seems to be more subtle.

 

Best,

Angelos

 

Diarmuid
5 - Atom

fantastic, thanks a lot guys, especially for such a quick response. I wasn't aware of the unique tool, that was the missing piece of the puzzle. thanks again

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Diarmuid 

 

I would definitely suggest you to check others solutions too it will help you get different prespective 🙂

Cheers and have a nice day!

Labels
Top Solution Authors