Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

how to output multiple files

Beckyli
8 - Asteroid

how to output multiple files based on store name

10 REPLIES 10
JagdeeshN
12 - Quasar
12 - Quasar

Hi @Beckyli ,

 

Please check @Jonathan-Sherman 's response in the below thread. 

 

Solved: Multiple Output files based on variables - Alteryx Community

Beckyli
8 - Asteroid

It is not work, it output one file with multiple worksheet. i want to multiple file with store number as each file name. could you please help me correct it?

Beckyli_0-1661549316887.png

 

Qiu
21 - Polaris
21 - Polaris

@Beckyli 
You are almost there. 😁
I made two minor modifications, and it should work now.

0827-Beckyli-1.PNG0827-Beckyli-2.PNG

Beckyli
8 - Asteroid

still not work

Beckyli_0-1661557113576.png

Beckyli_1-1661557214118.png

 

 

Beckyli
8 - Asteroid

after i run, show below error.

Beckyli_1-1661557681953.png

 

Beckyli_0-1661557586496.png

 

DataNath
17 - Castor

Hey @Beckyli, I built a macro that can be used to output to multiple excel files or sheets (whichever you want). All you need to do is download it and insert it into the end of your workflow:

 

https://community.alteryx.com/t5/Public-Community-Gallery/Output-to-multiple-Excel-files-or-sheets/t...

Beckyli
8 - Asteroid

how should i add total row on each export files

Beckyli_0-1661974915273.png

 

Beckyli
8 - Asteroid

i want to my multiple files come with total row.

Beckyli_0-1661975061923.png

 

DataNath
17 - Castor

@Beckyli before the final output, you could use a Multi-Row Formula to fill in the [Store #] for the rows containing the totals, before then outputting it in the same way as you are currently:

 

Before:

 

DataNath_0-1661975842554.png

 

After:

 

DataNath_1-1661975859858.png

 

Result:

 

DataNath_2-1661975969718.png

Labels