Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Ateryx App - How to include a conditional dropdown

Brytsyt
7 - 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.

3 REPLIES 3
Thableaus
17 - Castor
17 - Castor

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,

Brytsyt
7 - Meteor

Thank you so much for your help!

Brytsyt
7 - 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