Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Populating a listbox from unique values in a source file

debbieliske
6 - 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

3 REPLIES 3
BenMoss
ACE Emeritus
ACE Emeritus

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

debbieliske
6 - Meteoroid

Perfect! Thank you!

jcass
5 - Atom

I have unique values coming from the data source but the list box tool will not show them, only the column headings

Labels