Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

How can I change my query dinamically?

sebenciven
8 - Asteroid

sebenciven_0-1663835387336.png

Good Morning.

 

This is my workflow project.

 

In input tool I do a query where:

 

SELECT * FROM TABLE

WHERE DATE='20220930'

 

Date value is a DEFAULT.

I use Dynamic Input to change a string of my query (specifically 20220930) and the text box Interface to allow to user to insert a Date. In my idea the Interface value must change the date (so I don't operate on workflow) but the output has always the 20220930 data.

Can anyone help me? 

Thanks!

 

2 REPLIES 2
DavidSkaife
13 - Pulsar

Hi @sebenciven 

 

Is there a particular reason you're using the Dynamic Input tool? You should be able to discard it and connect the action tool directly to the input tool, and update the date within that SQL statement, i've attached a screenshot of a similar example I've done using a control parameter:

 

DavidSkaife_0-1663837874875.png

 

 

 

sebenciven
8 - Asteroid

Good Morning.

 

No there isn't a reason for that. I saw it on the community.

I would change the date in the input tool because the query SELCT * FROM TABLE is too heavy for Alteryx.

 

I'll try.

 

Thnaks a lot.

Labels
Top Solution Authors