We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Splitting table base on the filter

Neffri
8 - Asteroid

Hi,
I would like to ask you if there is a faster way to create separate excel files (each for Order Co) than to filter each table by Order ID and save the results?
Example:

Neffri_0-1671104201339.png

 

13 REPLIES 13
ShankerV
17 - Castor

Hi @Neffri 

 

You can do it dynamically with the help out below option in Output tool.

 

ShankerV_0-1671104985402.png

 

 

If this helps, please like this post and mark it as a solution. If you have any other questions, please let us know.

 

Many thanks

Shanker V

 

Neffri
8 - Asteroid

I need to create file for each Order Co and instead of creating for example 30 filters with order co. Can I do this faster? I dont want to create 30 filter with own value.

ShankerV
17 - Castor

Hi @Neffri 

 

This below will help.

 

ShankerV_0-1671106036480.png

Input:

ShankerV_1-1671106110721.png

 

Output tool:

ShankerV_2-1671106161368.png

 

If this helps, please like this post and mark it as a solution. If you have any other questions, please let us know.

 

Many thanks

Shanker V

Neffri
8 - Asteroid

I've checked this solution but it's creating one file 'Order Co' with as many tabs as there are different Order Co. 

Neffri_0-1671106663772.png

I need as many files as there are different Order Co

davidskaife
14 - Magnetar

Hi @Neffri 

 

Here you go, a Formula that reads in the order numbers and creates a separate output for each order:

 

DavidSkaife_0-1671107114565.png

 

Kakuffo
Alteryx
Alteryx

hi @Neffri  change the option on the output data tool to Change entirefile path

ShankerV
17 - Castor

hi @Neffri 

 

The below article from the knowledge base will help you get more information.

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Output-to-separate-Excel-files/ta-p...

 

One way of doing this:

 

ShankerV_0-1671108137639.png

 

Output:

ShankerV_1-1671108211568.png

 

 

If this helps, please like this post and mark it as a solution. If you have any other questions, please let us know.

 

Many thanks

Shanker V

 

ShankerV
17 - Castor

hi @Neffri 

 

Step 1: Input tool

ShankerV_0-1671108305529.png

 

Step 2: formula tool

 

"C:\Users\XXXX\Downloads\"+[OrderCo]+".xlsx|||Sheet1"

Use the part where you want to save the output.

 

ShankerV_1-1671108419646.png

 

Step 3: Output tool

ShankerV_2-1671108597885.png

 

Output:

ShankerV_3-1671108617389.png

 

If this helps, please like this post and mark it as a solution. If you have any other questions, please let us know.

 

Many thanks

Shanker V

 

Neffri
8 - Asteroid

yes you're right ! I used filter and I was wondering why my method doesn't work....

Labels
Top Solution Authors