Free Trial

Alteryx Designer Desktop Discussions

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

Multiple sheet creation with filter logic

sn2200
7 - Meteor

Hi,

 

I have an excel file with over 50 fields where from the 25th field i need to filter out No from each field then create a new sheet in excel and rename the sheet name with the same 25th field name. What is the best way to get it done in alteryx?

 

In the Sample data below, i need different sheets created from the field names G7-M13 and with their same sheet name as the field name but only the Y on the particular field name. In the output sample, in G7 field only Y is selected and same output needs to be saved in a sheet where the sheet name is G7.

 

A1B2C3D4E5F6G7H8I9J10K11L12M13
SampleSampleSampleSampleSampleSampleYYNNYYY
SampleSampleSampleSampleSampleSampleNNNNNNY
Sample  SampleSample NYYYYNY
Sample Sample  SampleNYNNNNN
SampleSampleSampleSampleSampleSampleYNYNNNY
SampleSample SampleSample YNNYNYN
SampleSampleSampleSampleSampleSampleNNNNNNN

 

Output Sample: 

A1B2C3D4E5F6G7H8I9J10K11L12M13
SampleSampleSampleSampleSampleSampleYYNNYYY
SampleSampleSampleSampleSampleSampleYNYNNNY
SampleSample SampleSample YNNYNYN

 

Thank you in advance. 

4 REPLIES 4
caltang
17 - Castor
17 - Castor

Like so?

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Raj
16 - Nebula

The workflow suggested by @caltang will work but just add the join tool to join by record Id to bring all the Columns in the sheet else it will just display the standard Columns.

hope this help!

caltang
17 - Castor
17 - Castor

Not sure if you really want that because the data is split based on what is "Y" and "N", but if you want to proceed, I've joined it for you here:

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
sn2200
7 - Meteor

Thank you so much @caltang !! really appreciate your support!

Labels
Top Solution Authors