Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

How to store the data into multiple files based on values in a column

Nethaji_5
7 - Meteor

Hello All,

 

I need your's help to complete this workflow. Since I have 3 different values in my column name and I want to store the data into 3 different output files based on the values in the column (Name).

 

Eg:

Name A should be stored as A.xlsx (it has 2 rows)

Name B should be stored as B.xlsx ( it has 1 row)

Name C should be stored as C.xlsx ( it has 1 row)

 

Note: Values in the column Name may be changed in the future like (C, D, E, and so on). I want to do this dynamically.

 

Please let me know is there is any option to do this.

 

Nethaji_5_1-1601982005166.png

 

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @Nethaji_5 ,

 

You use this option in output tool to split files by column.

atcodedog05_0-1601982640607.png

Blue highlighted is the column selected used for split.

 

Hope this helps 🙂

 

If this post helps you please mark it as solution. And give a like if you dont mind😀👍

 

atcodedog05
22 - Nova
22 - Nova

Hi @Nethaji_5 

 

Here is a workflow:

 

Folder before run:

atcodedog05_0-1601982918202.png

Folder after run:

atcodedog05_1-1601982945506.png

Workflow:

atcodedog05_0-1601983295132.png

Output Tool config:

atcodedog05_1-1601983319035.png

 

Hope this helps 🙂

 

If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

AngelosPachis
16 - Nebula

Hi @Nethaji_5 ,

 

I have used a formula tool to create a Filepath of where I want the excel sheets to be stored.

 

That Filepath should include the Name column before the ".xlsx" and I have also used the same to rename the sheets in each Excel file.

 

Then in your output tool, you should make the following selections

 

Screenshot 2020-10-06 121824.jpg

 

Let me know if that worked for you

Labels