Alteryx Designer Desktop Discussions

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

Enter comments in new column in output

rachana19
8 - Asteroid

Hi,

 

I am looking for a way to add 'Comments' column in the output sheet and enter the comments whenever some column data is missing.

 

Thanks

6 REPLIES 6
TomWelgemoed
12 - Quasar

Hi,

 

Can you give me an example of your scenario?


Thanks,

Tom

rachana19
8 - Asteroid

Thanks for your reply.

Here is the example - 

Input: 

IDFirst NameMiddle NameLast Name
1Jon NADoe
2NANASteele

 

Output:

IDFirst NameMiddle NameLast NameComments
1JonNADoe'Middle Name' is missing
2NANASteele'First Name' and 'Middle Name' are missing
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @rachana19,

 

I think this is what you're trying to achieve?

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workflow for you to download if needed.

 

Regards,

Jonathan

TomWelgemoed
12 - Quasar

Hi @rachana19 ,

 

I've taken the liberty to do another version of this - I tried to use as few tools as possible. I've also added a "Total Fields missing" column, as I think that may be useful. Finally, I tested this with a scenario where all values are populated and added a "All fields present" in such a scenario. Please see an image below and the attached workflow package.

 

Data Quality comments.png

 

Hope this is of use to you.

 

Best,

Tom

rachana19
8 - Asteroid

Hi Tom,

 

Thanks a lot for sharing the most efficient solution.

It worked perfectly for my case. Cheers!

rachana19
8 - Asteroid

Hi Jonathan,

 

Thanks a lot for sharing the solution over here.

It works fine.

Labels