SOLVED
identifying unique and different values across multiple columns
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Pran19G
5 - Atom
‎09-24-2020
03:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
RecordID | Column A | Column B | Column C | Column D |
1 | 10 | 10 | null | null |
2 | 5 | null | null | 5 |
3 | 10 | 10 | 10 | 10 |
4 | 10 | 10 | 5 | 5 |
Desired Output:
RecordID | Unique/repeated values only | Multiple values |
1 | YES | NO |
2 | YES | NO |
3 | YES | NO |
4 | NO | YES |
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
Solved! Go to Solution.
Labels:
4 REPLIES 4
ACE Emeritus
‎09-24-2020
03:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
17 - Castor
‎09-24-2020
03:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎09-24-2020
03:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you, worked perfectly!!
‎09-24-2020
03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you Emil - this worked perfectly too!
