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

Alteryx Designer Desktop Discussions

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

Split and save the excel file into different name based on column value

alt_tush
9 - Comet

Hi,

 

I have below table, My requirement is i want a dropdown with three values :- "APPROVER","CHECKER" and "MAKER".

 

Field1Field2APPROVERCHECKERMAKER
AAALLLALEXROBERTJAMES
BBBMMMALEXJAMESROBERT
CCCNNNPETERROBERTALEX
DDDOOOPETERJAMESALEX
EEEPPPMAXALEXROBERT
FFFQQQMAXALEXPETER
JJJRRRMAXALEXJAMES

 

If i select the "APPROVER" from dropdown the data should splitted/filter into 3 "ALEX","PETER" and "MAX" and three excel file should generated.

 

ALEX.xlsx

 

Field1Field2APPROVERCHECKERMAKER
AAALLLALEXROBERTJAMES
BBBMMMALEXJAMESROBERT

 

PETER.xlsx

Field1Field2APPROVERCHECKERMAKER
CCCNNNPETERROBERTALEX
DDDOOOPETERJAMESALEX

 

ALEX.xlsx

 

Field1Field2APPROVERCHECKERMAKER
EEEPPPMAXALEXROBERT
FFFQQQMAXALEXPETER
JJJRRRMAXALEX

JAMES

 

Same should be executed if i select the "CHECKER" or "MAKER". So data should be splitted or filter accordingly and file should be generated. If i select "CHECKER" then file should be ROBERT.xlsx, JAMES.xlsx and ALEX.xlsx

 

Please help!

Thank you!

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @alt_tush 

 

Here is how you can do it. We can supply selection value to formula tool and change the column selection for filename generation.

Workflow: Column selected approver 

atcodedog05_0-1628574985278.png

 

Column selected maker:

atcodedog05_1-1628575071065.png

 

Hope this helps : )

alt_tush
9 - Comet

HI atcodedog05,

 

Thank again 🙂

 

Its work 🙂 Thank you so much for your quick response 🙂

 

Really appreciate it.

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @alt_tush 

Cheers and have a nice day!

Labels