We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

reading from multiple worksheets in 1 input file

sammy3
5 - Atom

 How to reading from multiple worksheets in 1 input file ?

7 REPLIES 7
binuacs
21 - Polaris

@sammy3 One way of doing this with the batch macro

 

binuacs_0-1674068365669.png

 

BS_THE_ANALYST
15 - Aurora
15 - Aurora

I used @binuacs 's data for this one 😂. Learned this method in the Core Certification! @binuacs is there any benefit of doing batch macros for this type of thing? (I'm just learning about batch macros now).

 

BS_THE_ANALYST_0-1674071883175.png

 

All the best,
BS

LinkedIN

Bulien
JSheppard98
8 - Asteroid

Macro should read them all regardless of schema I believe. Your method only works assuming they are the same schema? Or am I completely wrong :D 

BS_THE_ANALYST
15 - Aurora
15 - Aurora

I will trial using the macro where a sheet has different schema and find out! 😀

All the best,
BS

LinkedIN

Bulien
BS_THE_ANALYST
15 - Aurora
15 - Aurora

@JSheppard98 that's actually really cool, thanks for that insight. I didn't know a macro output functioned like that in a batch macro. 

BS_THE_ANALYST_0-1674073060473.png

BS_THE_ANALYST_1-1674073074209.png

 

 

All the best,
BS

LinkedIN

Bulien
BS_THE_ANALYST
15 - Aurora
15 - Aurora

@JSheppard98 so the approach I used skipped a sheet if it had different schema. 

BS_THE_ANALYST_2-1674073180357.png

On that note, I think you're completely right then. Or it could be the blind leading the blind? 😉😂. Thanks a bunch for that!!

All the best,
BS

LinkedIN

Bulien
JSheppard98
8 - Asteroid

Hahaha no worries mate, have a payments file with hundreds of sheets in that kept saying different schema when using dynamic input. So had to find a workaround way a few weeks ago. Very nice once you do, thought it would be more complicated to make the macro, but not at all!

Labels
Top Solution Authors