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

Compare Multiple String Fields for all file Rows to identify Rows with differences

valeriemattas
8 - Asteroid

Hello,

 

I am trying to figure out a way to compare the string data across 10 columns for all rows in my file. We are reviewing a matrix of access permissions which are either "Deny", "Hide" or "Edit." The permissions are listed in the Rows and there is a Column for each User role. (See sample file attached).

 

Is there a way to identify which rows have differences between columns?

 

Thanks for your help,

 

Valerie

7 REPLIES 7
mceleavey
17 - Castor
17 - Castor

Hi @valeriemattas ,

 

Do you mean those that don't have 100% "Deny", for example, but have a mix across columns?

 

M.



Bulien

valeriemattas
8 - Asteroid

@mceleavey Yes, exactly!

apathetichell
19 - Altair

Hi!

 

I love the Summarize tool's "Count Distinct" feature.  Here's a workflow which transposes the entries grouping by row, then it uses a summarize tool to look for which rows have multiple entries. I added a filter tool at the end to isolate those rows with differing permissions.

 

Hope this helps!

 

 

valeriemattas
8 - Asteroid

@apathetichell  Perfect, this will do it. Thanks!!

mceleavey
17 - Castor
17 - Castor

Hi @valeriemattas ,

 

Workflow attached!

 

mceleavey_0-1616516216849.png

 



Bulien

valeriemattas
8 - Asteroid

Thank you!! @mceleavey 

mceleavey
17 - Castor
17 - Castor

no problem.gif



Bulien

Labels