Community Halloween is live until October 31st! Complete any 2 quick activities to earn the 2025 Community Halloween badge. Feeling brave? Check out the activities here
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