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.
SOLVED

How to join tabs within an excel report after a batch macro

Hi2023
8 - Asteroid

I did a Batch Macro to pull 8 excel reports tpgether and Those reports have 4 tabs within. Now I need to join those 4 tabs together using  the control#. How do I do a filter on sheet name after -it only give me column name now.

 

thanks

7 REPLIES 7
gautiergodard
13 - Pulsar

@Hi2023 Could you perhaps alter your macro so that a full path is added to each row of data? From there you should be able to parse out the sheet name

Hi2023
8 - Asteroid

hmm I got help with the macro so not sure how to do that

 

BrandonKO
Alteryx Alumni (Retired)

In your Input Data tool, you can select "Output File Name as Field" which will include the full path as a field. From there you can parse out the sheet name with a Formula Tool. 

Hi2023
8 - Asteroid

I used the Directory Tool Input?

binuacs
21 - Polaris

@Hi2023 can you provide some dummy data and expected output?

Felipe_Ribeir0
16 - Nebula

Hi @Hi2023 

 

Try the attached workflow.

Hi2023
8 - Asteroid

TY!

Labels
Top Solution Authors