Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Apps: Update In-DB Filter from Text Input using IN Clause

abell_dt
7 - Meteor

I have an app where a user might enter in multiple values with commas as the delimiter (ex: a,b,c). I want the a,b,c to update a in-db filter that looks like 

this:

 

fieldName in ("placeholder") 

 

I would like to update the placeholder with the 3 values. Without having the user enter the a,b,c with quotes around each in the text input, is there a way to make sure this filter works? I was thinking maybe update value with formula?

3 REPLIES 3
rkapoor
Alteryx
Alteryx

@abell_dt I tried this on my end with some test data and it should work via the Update Value with Formula method with maybe something like:

 

'"fieldName"'+" in "+ '(' + '"'+(Replace([#1], ',', '",'))+'"' + ')'

dennich
5 - Atom

Hi @rkapoor can you provide a working example please?  I am trying to do the same thing with no luck!

atcodedog05
22 - Nova
22 - Nova

Hi @dennich 

 

It would be something like this.

 

Hope this helps : )

 

 

Labels
Top Solution Authors