community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Populating a listbox from unique values in a source file

Highlighted
Meteoroid

I have an app that populates a list box from a query to a database for the field "Year". But this gets all the years in the database. I'm trying to give the users an option to filter on only the years that are in the source file but I can't figure out how to get the distinct list of years in that file and put them into the list box. Any help is appreciated.

 

alteryx.PNG

Alteryx Certified Partner
Alteryx Certified Partner

I believe you could look into creating a chained app in this case. I've recently built out a similar application, having never built a chained app I found the following video extremely useful, firstly in defining what they have to offer and secondly showing how to build them: https://community.alteryx.com/t5/Live-Training/Live-Training-Chained-Apps/m-p/43743

The first part of the chained app in your case would make the query before you build out a datasource for the years that should be passed into the year dropdown filter which would exist in the 2nd application.

 

Ben

Meteoroid

Perfect! Thank you!

Labels