Alteryx Designer Desktop Discussions

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

Join multiple sheets from one excel file - header on only 1 sheet

MysticalAz
8 - Asteroid

Hi Community!

 

I have the attached sample document which contains 3 sheets. Headers only exist on Sheet1. Any idea how I can union them all assuming the schema will always be the same?

 

I attempted to create a macro (attached). In a new workflow, I then input the file, attach the macro and browse. Error below. 

 

MacAzim_1-1646939689582.png

 

 

 

 

6 REPLIES 6
gabrielvilella
14 - Magnetar

I encourage you to use these macros.

MysticalAz
8 - Asteroid

Thanks @gabrielvilella. This outputs my data in a weird way, is that what you're getting too?

 

MacAzim_0-1646941128167.png

 

 

 

 

 

gabrielvilella
14 - Magnetar

The macro is set up to union based on field name, you can change that based on field position on the Interface Designer for the second macro.

MysticalAz
8 - Asteroid

This seems to be ignoring row 1 in sheet2 and 3. Missing IDs 3 and 5. Any idea why?

 

MacAzim_0-1646942188164.png

 

gabrielvilella
14 - Magnetar

You need to enable the option that the first row contains data on the input data tool in last macro.

MysticalAz
8 - Asteroid

This whole approach is very different than what I was doing. Thank you very much. 

Labels