Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Data Validation

vijaylnyadav
8 - Asteroid
Roll NoKey ValueTest KeyTest Value
101AA01EE111104
102BB02AA111101
103CC03JJ111107
104DD04DD111102
105EE05GG111107
106FF06JJ111110
107GG07GG111106
108HH08CC130303
109II09EE221101
110JJ10FF111106

 

Consider a sample data,

Here, i want to compare a specific data not the whole column.

 

For Eg,

If AA(Key) = 01(Value)  then AA1111(Test Key) should be equal to 01 (Test Value) considering the relation with AA = 01 and if GG = 07 then GG1111 should be equal to 07 (not 06) and if DD = 04 then DD1111 should be equal 04(not 02) without sorting the columns.

 

Please suggest some solutions

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @vijaylnyadav 

 

Here is a workflow for the task.

Output:

atcodedog05_0-1606459160516.png

Workflow:

atcodedog05_1-1606459175286.png

 

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

vijaylnyadav
8 - Asteroid

According to your solutions the rows and columns are interchanged but i want a solution in which no values are interchanged because all the fields are related to each other.

 

In short, the sample data remains as it its but an extra column is added for the matched result.

Comparing "test key" = "test value" in comprising with "key and value".

atcodedog05
22 - Nova
22 - Nova

Hi @vijaylnyadav 

 

Something like this?

 

Here is a workflow for the task.

Output:

atcodedog05_0-1606461754030.png

 

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

vijaylnyadav
8 - Asteroid

Thanks a lot.

This is what I am looking for.

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @vijaylnyadav 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any issues 🙂

Labels