Start Free Trial

Alteryx Designer Desktop Discussions

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

Inputs with new sheet names each month

Tony_McC67
5 - Atom

Hi,

 

My input file has multiple sheets, one called "Reconciliation" and other sheets which represent the months of the year. (see image as an example). 

 

Currently, I need to update the sheet name in the Input tool each month to the latest month (i.e. in the image attached, I would select April 2025, as it's the most recent month) before running the flow. I am wondering if there is a way to automatically select the sheet related to the most recent month, without manually updating the input tool.

 

Thanks,

Tony

 

 

 

 

 

 

 

5 REPLIES 5
binu_acs
21 - Polaris

@Tony_McC67 one way of doing this

image.png

Tony_McC67
5 - Atom

Thanks Polaris!

 

I think that is almost what I want but I'm looking for it to select the most recent month, not necessarily the current month. 

 

Thanks,

Tony

Tony_McC67
5 - Atom

Hi,

 

One other detail that may be relevant. 

 

The file name itself will also change each month. It is in the format 04. April_24_Standard format.xlsx, 05. May_24_standard format.xlsx, 06. June_24_standard format.xlsx etc.

 

In the location of the file, there will only ever be one file, as the latest file will replace the previous month's version.

 

Thanks,

Tony

 

 

 

abacon
13 - Pulsar

I believe this gets you what you want. Convert the values to date and get the max date. This along with what @binu_acs posted will get you what you want.

Tony_McC67
5 - Atom

Thanks everyone!

 

I've managed to solve it through using a combination of the responses as a basis of this. 

 

See image attached if interested.

 

Thanks all!

 

 

Labels
Top Solution Authors