Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Choose between two Excel inputs

eric-l
7 - Meteor

Hi,

 

I'm trying to find a simple way to select between two input files in my workflow.  The two files are identical except for time period.  One is "current" and the other is "month-end previous month."  I'd like to use the same workflow on each.  Sometimes I want the outputs based on today, and sometimes based on last month.  The file names and paths will be static.  Ideally, I'd just like to have a menu to select between the two inputs.  I'm sure this is possible, but I'm very new to Alteryx so I'd appreciate any suggestions.

 

Thanks.

 

Eric

13 REPLIES 13
eric-l
7 - Meteor

First, I had to point to files on my machine, so I made these updates.

 

Choose Input 1.png

Then I save and close the app and run it by double-clicking the file.  It opens, I choose current, and it runs yielding the default, previous (not current file).  I must be doing something else wrong.  I posted my version in case you can determine my issue that way.

 

Choose Input 2.png

ivoller
12 - Quasar

Thanks. I'll take a look as soon as I escape from meetings this afternoon

ivoller
12 - Quasar

Hi,

 

See attached. I didn't have your original input file so I modified the Input tool to start at row 1 (was set to row 3). Modified my current and previous Excels to have some sort of dummy user data so the Summarize will work and made sure that the Action tool was set to the File - Value attribute. This works for me and outputs 2 browse results as expected.

 

2018-08-07_15-21-39.png2018-08-07_18-30-21.png

eric-l
7 - Meteor

Hi,

 

It worked!  Not sure what was different this time, but it works so I'm saving it and moving on.

 

Thanks for sticking with me!  Much appreciated.

 

Eric

Labels