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

Analytical App - Choose fields to cleanse and replace nulls and remove unwanted characters

wonka1234
10 - Fireball

Hi,

 

Is there a dynamic way in an analytical app to choose which fields to cleans and which options to choose in the clean tool?

 

wonka1234_0-1676576630589.png

 

7 REPLIES 7
martinding
13 - Pulsar

Hi @wonka1234 ,

 

Here's one way to do it.

 

I've provided examples for:

1) Letting the user select the fields they want to cleanse

2) Letting the user select whether to replace nulls with blanks.

 

You can essentially adopt this to include any of the available options in the Cleanse tool.

 

Hope this helps!

wonka1234
10 - Fireball

@martinding thanks! so the user would have to type in the columns to cleanse?

martinding
13 - Pulsar

Hi @wonka1234 ,

 

Yeah, that's one way to do it. There are other ways, let me get back to you later, a bit busy with work at the moment sorry😂

martinding
13 - Pulsar

Hi @wonka1234 ,

 

Please find attached a list box version where the user can select a column to cleanse by ticking the corresponding box.

wonka1234
10 - Fireball

@martinding 

 

How do you know which each of these values apply to in the data cleanse tool?

 

wonka1234_0-1677880472988.png

 

I want to add more features to your tool.. ie not just replacing null with blank, but more!

 

martinding
13 - Pulsar

Hi @wonka1234 ,

 

I believe the Cleanse tool is a macro, and if you right click on the Cleanse tool icon, you should be able to open up the macro.

 

Once opened, you should be able to see which Check Box correspond to which option in the Cleanse tool.

 

 

wonka1234
10 - Fireball

@martinding  I think your workflow doesnt work, i see in the tool the selections are already checked, shouldnt these be unchecked and then in the analytic wizard wand tool to select them and then it will replace nulls? 

 

do things need to be already checked off?

Labels