Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Reading and compiling multiple sheets then tranpose

PTM98
5 - Atom

Hi guys! 

 

Trying to read multiple sheets from a workbook but I'm getting stuck at the dynamic tool, for some reason it does not take all the data. I am attaching the file, as well as the desired outcome.

 

I used this config on the input tool 

PTM98_0-1683703278044.png

And this one for the dynamic tool

PTM98_3-1683703374677.png

 

PTM98_2-1683703313979.png

 

I get the warnings that they are not the same as the template, although it is the same, except for a couple of sheets, which are shorter in terms of the period analysed.

 

Therefore I just want to put each of them under this format, but I think I will manage to do it with transpose (?) so on and so forth for each country in the project.

PTM98_4-1683703504807.png

Any suggestion would be much appreciated!! Thanks a lot in advance guys!

 

4 REPLIES 4
Qiu
20 - Arcturus
20 - Arcturus

@PTM98 
There is an existing macro we can bring the data with different schema.
https://community.alteryx.com/t5/Community-Gallery/Dynamic-Multi-File-Sheet-Names/ta-p/919218

0510-PTM98.PNG

FrederikE
13 - Pulsar

Hey @PTM98,

 

You can use a batch macro instead.

Important:

- Exchange the sheet name with the inputs into the macro (You need to redo this after changing the path to yours) (Fig.1)

- Use the Property setting that they columns are stacked on top by position/name (Fig. 2)

 

FrederikE_0-1683706520804.png

FrederikE_1-1683706522669.png

 

Qiu
20 - Arcturus
20 - Arcturus

@PTM98 
We can do a Batch Macro as below, note that some data cleansing required/.

0510-PTM98-A.PNG0510-PTM98-B.PNG

PTM98
5 - Atom

Thanks everyone for their time!! Used it, but did not have the time to post again, forgot about. Thank you again!

Labels