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.
Solved! Go to Solution.
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
Perfect! Thank you!
I have unique values coming from the data source but the list box tool will not show them, only the column headings