Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

dynamic input to pull the last worksheet in an excel file?

KateC
8 - Asteroid

I have a workflow that produces a monthly excel file and every day it appends a worksheet. The worksheet names are dates so if I run the report today it will append a worksheet named yesterday's date.  I want to be able to pull this worksheet as input when I run the report again tomorrow so I can roll forward some of the amounts.  Is there any way to dynamically select the last worksheet in the file each day?

1 REPLY 1
JagdeeshN
12 - Quasar
12 - Quasar

Hi @KateC ,

 

The combination of a formula tool and the dynamic input tool should do the trick for you.

 

Step 1:- Create the path to the file (with the latest date) within the formula tool.

Step2:- You can then use this field to replace the path dynamically within the Dynamic Input Tool.

 

Hope this helps point you in the right direction.

 

Best,

Jagdeesh

Labels
Top Solution Authors