Start Free Trial

Alteryx Designer Desktop Discussions

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

Region wise excel files but in same folder

BRRLL99
11 - Bolide

I have dataset based on region

I'm looking for region wise separate files in excel. But it should be in same folder

 

DATAREGION
ANORTH
ANORTH
BSOUTH
BSOUTH
CWEST
CWEST

 

Files names should be NORTH.excel file etc;

2 REPLIES 2
DawnDuong
13 - Pulsar
13 - Pulsar

hi @BRRLL99 

Have you looked at Output tool with the option to output multiple files and change the file names?


@BRRLL99 wrote:

I have dataset based on region

I'm looking for region wise separate files in excel. But it should be in same folder

 

DATAREGION
ANORTH
ANORTH
BSOUTH
BSOUTH
CWEST
CWEST

 

Files names should be NORTH.excel file etc;


DawnDuong_0-1670151015688.png

 

Using this method, all the output files will be in the same folder.

Dawn.

DataNath
17 - Castor
17 - Castor

Hey @BRRLL99 the usual approach for splitting your dataset into different files based on field values is to create a custom filepath in a formula tool and feed that into your output data tool. I built a macro to take away a bit of the manual hassle involved: https://community.alteryx.com/t5/Community-Gallery/Output-to-multiple-Excel-files-or-sheets/ta-p/951...

 

In your case, as you want your [Region] to be a prefix, I've just made a [FileName] field like so:

 

DataNath_0-1670151090062.png

 

Then just use that as the grouping field within the macro configuration:

 

DataNath_1-1670151109327.png

 

The outputs:

 

DataNath_2-1670151155296.png

Labels
Top Solution Authors