Alteryx Designer Desktop Discussions

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

Calendar tool in alteryx app

simasarry123
8 - Asteroid

My workflow includes a filter that selects data based on end date and start date. I have converted into analytic app by connecting to an action tool and including a calendar. However when I use the app and update the start and end date, the result is correct. It is taking all data for the entire year instead of the period i select. How to resolve this?

2 REPLIES 2
DataNath
17 - Castor

Hey @simasarry123 - the dates you have in your filter expression need to be placed in quotes I.e. ‘2022-11-16’

 

Then in your Action tools, you need to make sure that is only acting upon the start date in the expression (don’t include the quotes, so for the date I mentioned above you’d just have Replace a Specific String as 2022-11-16, not ‘2022-11-16’). Then just do the same for the other Action tool acting upon the end date.

 

Example here...

 

Dates:

 

DataNath_0-1668633895103.png

 

Filter:

 

DataNath_1-1668633904058.png

 

First Date/Action tool update only the quoted start date:

 

DataNath_2-1668633923120.png

 

Likewise for the other Date/Action tool acting upon the quoted end date:

 

DataNath_3-1668633946712.png

 

When we run:

 

DataNath_4-1668633984070.png

 

Have attached the demo app so you can see what's going on - hope this helps.

simasarry123
8 - Asteroid

Thank you so much . This worked. 

Labels