Alteryx Designer Desktop Discussions

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

user input filter

dexter90
8 - Asteroid

I need to create a user input filter that has following dropdowns

All -display all records

Yes - display only yes

No - display only no

Based on user selection I need filter records.how to create a filter that takes user input and updates the value of filter?

 

Input file sample

ID     Criteria met

123   yes

321   no

1 REPLY 1
MichalM
Alteryx Alumni (Retired)

@dexter90 

 

You'd want to build a macro like the below

 

dropdown.png

 

  • Use the Dropdown with manually entered values
  • And the Action tool configured to updated the underlying filter with a formula. In this case if user select all you will look for all non-empty values in the Criteria met column and if it's any other value (yes or no) use this to replace the operand in the filter
IF [#1]="all" 
THEN "!IsEmpty([Criteria met])"
ELSE Replace([Destination], "value", [#1])
ENDIF

 

Example macro attached.

 

dropdown-filter.png

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels