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

Alteryx Designer Desktop Discussions

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

Compare Row data with Header names

mrodrigo
5 - Atom

Hello Team

 

I hope all is well :)

 

I have a question here I am not able to figure out yet.

I have this dataset

 

a.PNG

I would like to test if the info in the column DataP-Out matches the Headers.

 

DataP-out is the last Date where we can have amounts.

 

What i want to is to compare the rows in the DataP-out with the Headers.

If the DataP-out matches the Header and the row is null/empty would show an "OK", else "error".

 

Unfortunately I have no idea how to manage it.

 

Could you please assist?

 

Thanks

 

Roddy :)

 

 

3 REPLIES 3
binuacs
21 - Polaris

@mrodrigo one way of doing this

 

Screenshot 2023-06-28 105500.png

lbardoe
8 - Asteroid

You could just slimplify to the attached image

DawnDuong
13 - Pulsar
13 - Pulsar

hi @mrodrigo 

If your data is not too large and the number of columns is not crazy, using a combination of Transpose, Filter and Sample will solve it - as shown below.

However, if your data is so large that doing a Transpose does become cumbersome (coz no of rows multiplies by number of columns and the size can blow up!), you can consider modifying the work flow into a batch macro to read through the RecordID one by one (hence this becomes a linear-scale order rather than a ^2 problem).

ReconCheck.PNG

Labels
Top Solution Authors