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.

alteryx update filter clause base on a data set

187
8 - Asteroid

Hi Alteryx 

 

I have a dataset that contains name and value pari and i want to update those accordingly to one of my filter , how can i achieve this?

 

187_1-1661852276164.png

 

 

187_0-1661852257481.png

 

3 REPLIES 3
binuacs
21 - Polaris

@187 Can you elaborate a little bit more on your requirement? 

187
8 - Asteroid

@binuacs 

yup  so the filter clause is dynamic which is read from the first dataset , the name will be the filter column and the value will be the filter value

 

supposed in this case the dataset is 

name                              value

report group 1                  A

report group 2                  B

 

I need to have the filter like 

[report group 1]  = "A"  

AND

[report group 2] = "B"

 

if more rows from first dataset ,i need it to be appended to the filter clause 

Sebastiaandb
12 - Quasar

@187 ,

 

Here is my solution to your problem :-).

 

Sebastiaandb_0-1661859305230.png

i think you can also use the filter tool with some kind of macro construction to work (nice challenge haha) but this setup is more simple i guess.

If you expect more columns than just 2 to be filtered. just click dynamic or unknown columns in the transpose tool :-). 

 

Sebastiaandb_1-1661859416739.png

 

 

 

Greetings,

 

Seb

Labels
Top Solution Authors