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

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Community v19.6

Looks aren't everything... But the latest Community refresh looks darn good!

Learn More
SOLVED

Ateryx App - How to include a conditional dropdown

Highlighted
Meteor

I would like to create an app whereby you select a year (e.g. 2018) from a drop down, and depending on which year you choose, different dates are picked up. For example, if 2018 is selected only data for January 2018 to December 2018 is picked up by the workflow.

The dates are being selected by changing the headings of the columns to the dates, and selecting them by using the 'select' tool.

Alteryx Certified Partner
Alteryx Certified Partner

Hi @Brytsyt 

 

Here's a very simple example of an app to do what you want:

 

AppPic1.PNG

AppPic4.PNGAppPic3.PNGAppPic2.PNG

 

 

- You should put a filter tool to filter by the DateTimeYear of the field - connect the Drop Down to the Filter Tool and select the [#1] Field, which is what comes from the Drop Down Tool.

- Configure the Drop Down with the Year Values. It can be manually, or even from a file you manage, there are a lot of options to do this

- Place a browse tool or some Output to view the results. Don't forget to configure the Interface Designer properties to show results to user on success. Also, you can configure other options to customize your app

- Play the Magic Wand and you'll have the desired results

 

My example is attached.

 

Cheers,

Meteor

Thank you so much for your help!

Meteor

Hi @Thableaus 

 

Thanks again for your previous help.

Could you help with how we change the date range from calendar year to tax year. e.g. for 2018 the range is April 2017 to March 2018, rather than Jan - Dec.

 

Many Thanks

Labels