Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

dynamic filter to replace the whole filter expression (batch macro)

DannisMen
8 - Asteroid

Hi all, 

 

i wonder how i can use a text box to replace the whole expression in filter. basically, i can do however i want with the text input and just update the whole expression in filter tool. 

DannisMen_0-1597687791494.png

 

5 REPLIES 5
BrandonB
Alteryx
Alteryx

If you have your filter set to "Custom Filter", it allows for you to update the entire expression in the action tool

 

filter.png

DannisMen
8 - Asteroid

Hi, 

 

it's weird that i did exactly the same as you suggested. but the output was the same regardless what i had in text box. can you plz share your sample?

BrandonB
Alteryx
Alteryx

My guess is that you aren't seeing it do anything because you need to render out something from an analytic app to see the results entered from the interface. You can see in the example below that my formula says [Field1] = 1 but when I enter [Field1] = 2 into the text box and run the workflow, it renders the output where the filter is now filtering for the value of 2. 

 

analytic app.png

DannisMen
8 - Asteroid

it works. just a typo thing. thanks

Inactive User
Not applicable

Hi @BrandonB ,

 

will it work when we use another input with different column names ?

Labels
Top Solution Authors