Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Dynamic query

LuisMendoza
5 - Atom

Hello

I need help.

I want to occupy the output of the first report in a select to a database in a second report

Does anyone know how I could do this?

The first column of the first report would occupy something like this:

Select * from table where the field in (..here would be the fields obtained from the previous report)

thanks

2 REPLIES 2
Tyro_abc
11 - Bolide

It is difficult for me to understand your requirements without a sample workflow/data diagram. If it's possible, then please explain elaborately.

CharlieS
17 - Castor
17 - Castor

It sounds like you're looking for the Dynamic Input tool. You can configure a query inside that tool and also configure how you'd like it to be modified. So if you have a workflow that prepares a list of where clause arguments, then you can feed that into the Dynamic Input tool and use the "Modify SQL Query" option to update the WHERE clause in the query you set in the tool. The entire query can be modified by the Dynamic Input tool. 

 

https://help.alteryx.com/current/designer/dynamic-input-tool 

 

 

Labels