Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Multipule output to csv with dynamic file names (No file name within the final extract)

Gavin_FBu
6 - Meteoroid

Hi,

 

I am trying to extract the output into multi csv files.  The output file is for us to do a data upload to our operation system (very old system) hence it required certain formnat for the csv file.

 

To make it easy, I have trimmed out a lot of columns.  Let say the final table only has 3 columns as below:  

Store CodeProduct CodeRatio
1462320718.9
167232015.61
167232615.95
167237785.82
191207865.91
191207604.1
191104725.33
19110125.06
363101245.51
363101249.2

 

Requirement:

1.  Seperate data by store code and extract each store's data into different csv that named by the store code.
     In this example I required 4 csv files  that belong to each store (146.csv, 167.csv, 191.csv, 363.csv).  

2.   Each csv file only contain the data belong to the relavent store in the format =  comma seperatred value.

 

3.   (Here is the part I do not know how to) Each csv take away the title and remove Store Code column.  So each csv file only gives Product Code and Ratio.  It shoul look like the following for 191.csv

 

20786,5.91
20760,4.1
10472,5.33
1012,5.06

 

The table has approx 80 stores and I have no idea how to deal with it?  Hopefull I do not not need to write an excel macro to make that happen.

 

Cheers

Gavin

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hi @Gavin_FBu ,

 

Is this what you are looking for? Example attached.

fmvizcaino_0-1583203632741.png

 

 

Best,

Fernando Vizcaino

Gavin_FBu
6 - Meteoroid

Thanks, ithe key is untick "Keep Field in Output".

 

Cheers

Labels