Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Announcement | We'll be doing maintenance between 2-3 hours, which may impact your experience. Thanks for your patience as we work on improving the community!
Free Trial

Alteryx Designer Desktop Discussions

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

Edit SQL Query in Input Data Tool

Dylan_Brown
5 - Atom

I have created a workflow using one input that queries our database.  In that query, I can specify which vendor I want to pull sales for.

 

What I am trying to do is create an app where I can run the flow for any vendor without having to go in and change the input manually.  I have tried using dynamic input but can't figure out how to change the query.  With the dynamic input, I am not sure what tool to connect to it's input either.

 

Any help is appreciated!

 

3 REPLIES 3
LordNeilLord
15 - Aurora

Hey @Dylan_Brown

 

Presuming your SQL looks something like this:

 

Input 2.PNG

 

You can then use a text box and action tool using the "replace specific string" option like this:

 

Input.PNG

Dylan_Brown
5 - Atom

I played around with it some more yesterday and figured it out.  This totally works!

 

Thanks!

kwilkins
7 - Meteor

Hello there. Does your solution also work when replacing a date? I've used the "Date" and action tools, without success.

Labels
Top Solution Authors