In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

Remove duplicate columns

yzanferr
7 - Meteor

Hello, I'm a new user to Alteryx. I was wondering if anyone could help me.

I do have a massive excel with several columns (1632 to be precise). It probably has a lot duplicated columns, not only headers, but hole data.

I need to do 2 tasks:

1- Verify if there are identical columns(not only headers, they must be 100% identical) and delete them;

2- Verify is a column only present nulls or zero and delete the column. The Nulls are saved as strings.

 

The excel is to big to do it manually.

 

Thanks,

Yuri

4 REPLIES 4
kelsey_kincaid
12 - Quasar
12 - Quasar

Hi @yzanferr ,

Would something like the attached work for you? 

 

Input: 

kayers_0-1589384808402.png

Flow:

kayers_1-1589384836894.png

Output:

kayers_2-1589384849632.png

 

yzanferr
7 - Meteor

Hello @kelsey_kincaid Thanks!!!

It solved part 1 of my quest! I still need to remove the columns that contain only null(as a string or not) and zeros.

kelsey_kincaid
12 - Quasar
12 - Quasar

@yzanferr Sorry about that! Try the attached and it should accomplish both goals.

kayers_0-1589392866601.png

yzanferr
7 - Meteor

@kelsey_kincaid it worked for some data, but I think that is some Null written as a string. Is it possible to convert nulls automatic for numbers?

 

Labels
Top Solution Authors