Start Free Trial

Alteryx Designer Desktop Discussions

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

identifying unique and different values across multiple columns

Pran19G
5 - Atom

Hey,

 

New to the alteryx community!

 

I'm trying to identify how many times a value occurs across multiple columns, to find the columns with the same value and those with different ones - whilst ignoring the null values.

 

E.g. Input

RecordIDColumn AColumn BColumn CColumn D
11010nullnull
25nullnull5
310101010
4101055

 

Desired Output:

 

RecordIDUnique/repeated values onlyMultiple values
1YESNO
2YESNO
3YESNO
4NOYES

 

The outputs don't have to say yes or no, can be binary 1,0 - I just need help identifying which ones have the same value and which don't.

 

Appreciate any assistance!

 

Thanks

4 REPLIES 4
jdunkerley79
ACE Emeritus
ACE Emeritus

I would suggest:

jdunkerley79_0-1600942430496.png

 

First transpose the data to be row based and filter the Nulls

Use a summarise tool to compute distinct value counts by record ID

You can then use a formula tool to make the 2 columns

 

Have attached a sample

 

 

Emil_Kos
17 - Castor
17 - Castor

Hi @Pran19G,

 

I believe this is the same aproach as @jdunkerley79 

 

Emil_Kos_0-1600942710631.png

 

Pran19G
5 - Atom

Thank you, worked perfectly!!

Pran19G
5 - Atom

Thank you Emil - this worked perfectly too!

Labels
Top Solution Authors