Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Report to a new Tab in Excel

avuong6
8 - Asteroid

hello - i have this existing process:

avuong6_0-1683726212042.png

i runs the same query multiple times using different parameters read in from a input table. how do i set it up to write the output to a different excel tab for each run?

im not seeing that option:

avuong6_1-1683727187426.png

currently i only get the last result. all the other results are overwritten.

 

 

 

2 REPLIES 2
FinnCharlton
13 - Pulsar

Hi @avuong6 , I would approach it like this. First, use a formula tool to make a new File Path + Sheet Name for each iteration of the macro:

FinnCharlton_1-1683728829244.png

 

Here, each time the macro runs this calculation will result in a different Sheet Name. Now, in the output tool select 'Overwrite Sheet or Range'. Lower down, select 'Take File/Table Name From Field' and Select 'Change Entire File Path'. Choose your File Path field from the drop-down below:

FinnCharlton_2-1683728920103.png

Now each time the macro runs, a new file path will be generated and will be used to change the sheet we output into. Hope this helps!

avuong6
8 - Asteroid

so i think i got it working with your guidance. thank you. 

 

also, if i wanted to append the text selected in this update action:

avuong6_0-1683743246981.png

 

how to update formula to get that field in?

avuong6_1-1683743343531.png

 

 

Labels
Top Solution Authors