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.

Taking Filter Input from Calendar Interface

hemant86
11 - Bolide

Hi Team,

 

I'm trying to take a filter input from user where the user will select the date from Calendar interface and the workflow will filter the entered date from the database and give the extract. Now the problem here is, my database has the dates in mm-dd-yyyy format while the Calendar Interface enters the date in yyyy-mm-dd. Hence its not filtering out any records.

 

Any workaround to enter the date in mm-dd-yyyy format through Calendar interface? 

 

Thanks in Advance!

 

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @hemant86 

 

You won't directly be able to use it. Instead generate the date in a formula tool and pass it to a dynamic input tool SQL where clause to read.

 

App to get date format:

atcodedog05_0-1642001804820.png

 

for how to pass it to a dynamic input tool SQL where clause to read

https://www.youtube.com/watch?v=ELfKYatOJZM refer (8:16 minute)

 

Hope this helps : )

 

Table of Contents Dynamic Input of Files: 1:00 Dynamic Input for SQL WHERE Clause: 8:16 Dynamic Input for SQL Stored Procedure Parameter: 14:09 A demo of three different way to use the Dynamic Input Tool: loading data from several files, replacing the WHERE clause of a SQL statement, and as input
hemant86
11 - Bolide

Thanks @atcodedog05 for your inputs. I will try that out.🙂

Labels