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

Dynamic Input tool

Vishnusai
7 - Meteor

Hi All,

 

While i am using Dynamic input tool i am getting the below. can any suggest

Vishnusai_0-1645109567850.png

 

13 REPLIES 13
Luke_C
17 - Castor
17 - Castor

You need to tell it what sheet of the xlsx file to load. If all the files in your directory have the same sheet name, you can append the filepath with '|||TabName' will work. If they're all different, check out this post to use a macro to read in the tab names.

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Get-worksheet-names-from-excel/td-p/34...

 

atcodedog05
22 - Nova
22 - Nova

Hi @Vishnusai 

 

You would need to the sheetname like using a formula tool like below. Here my sheetname is Sheet1.

 

atcodedog05_0-1645110204043.png

 

Hope this helps : )

 

Vishnusai
7 - Meteor

Still i am getting the below error

 

Dynamic Input (5) C__Users_X019256_Desktop_Alteryx_vishnu_09081988.xlsx___sheet1 does not match a sheet or named range in C:\Users\X019256\Des

Vishnusai_0-1645116981649.png

 

ktop\Alteryx\vishnu_09081988.xlsx or the Excel file is corrupt.

Luke_C
17 - Castor
17 - Castor

Hi @Vishnusai  You need to use pipes instead of underscores. 

binuacs
21 - Polaris

@Vishnusai seems to be you are using back slash (\\\)instead of pipe (|||) before the sheet name. please follow as @atcodedog05  suggested

 

binuacs_0-1645117300237.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @Vishnusai 

 

can you share your dynamic input tool config.

 

Happy to help : )

Vishnusai
7 - Meteor

Vishnusai_0-1645117562923.png

 

MichelleL
Alteryx
Alteryx

@Vishnusai I believe you need to change the 'Action' to 'Change Entire File Path'.  I've attached a workflow with several examples of how to pull in Excel files dynamically, depending on your situation.  Your sample matches closest to the 1st container.

 

MichelleL_0-1645161290547.png

 

Let me know if this works for you!

Vishnusai
7 - Meteor

@MichelleL iam using the older version of alteryx, I am unable to export the marco in my machine. can you send the screenshot of the Configuration

Labels
Top Solution Authors