Alteryx Designer Desktop Discussions

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

Input Excel Spearsheet with variable tab name

EveM
7 - Meteor

Hello everyone,

 

I have an Excel Spreadsheet input that has a variable tab name.

 

For example: the tab name is "Orange_1234" for now, but in a month, it will be "Orange_5678". The "Orange" part is there to stay but the rest changes everytime I get a new spreadsheet.

 

Is there a way to tell the input tool to choose the first tab according to the first word its name contains? Or to simply make it choose the first sheet without specifying a name? Preferably without using the dynamic input tool.

 

Thanks in advance!

 

Eve

13 REPLIES 13
laceyaidan
5 - Atom

Thanks, Abilash! This is my first Alteryx reply.

 

I do have Output File Name = "Full Path". I've attached a picture of my workflow. [FileName] doesn't end up in the output at the end of the flow.

ydmuley
12 - Quasar
12 - Quasar

The "Full Path" should be configured in the Dynamic Input settings as well.

 

Once you update the settings as per below, in your output you will get a a new column at the last with the file name which will have sheet name at the end of it. You can later parse that column to get only the sheet name.

 

ydmuley_0-1585658025729.pngydmuley_1-1585658070664.png

ydmuley_2-1585658105936.png

 

ydmuley_3-1585658187043.png

 

 

Regards,
Yugandhar Muley (Yug)

Alteryx ACE | Alteryx For Good India Lead | Bengaluru Alteryx User Group Lead
laceyaidan
5 - Atom

It's working! Excellent. Thank you!

terry10
11 - Bolide

You can parse the sheet name from the Full Path with the regular expression ".*\|\|\|.(.*)\$."

 

terry10_0-1636230793261.png

 

Labels