Start Free Trial

Alteryx Designer Desktop Discussions

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

Reading multiple tabs from the same Excel file dynamically

aliensurfer
7 - Meteor

Consider the scenario below:

 

2020.xlsx (Tab1, Tab2, Tab3, …)

2021.xlsx (Tab1, Tab2, Tab3, …)

2022.xlsx (Tab1, Tab2, Tab3, …)

2023.xlsx (Tab1, Tab2, Tab3, …)

.

.

.

 

I need to read each tab within each Excel file. As of now I have a workflow for 2020.xlsx where I have individual input tools for each tab. How can I make this dynamic in operation so that I can pass the file names (with tab names) to each input tool and run it through the workflow dynamically?

 

Thanks,

P

2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @aliensurfer 

 

You could use batch macros - 1 to get the tab names and 1 to process all the inputs for each tab. Check out this article:

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/The-Ultimate-Input-Data-Flowchart/t...

 

aliensurfer
7 - Meteor

Thanks @Luke_C. This solution might prove useful.

Labels
Top Solution Authors