Alteryx Designer Desktop Discussions

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

Filtering date range

SH_94
11 - Bolide

Dear community,

 

Would like to ask if there is any way to filter the date in the string format with the criteria from the date range 20210830 to 20221231.

Input

SH_94_0-1672812691211.png

 

SH_94_1-1672812760291.png

 

 

Thank you

3 REPLIES 3
grazitti_sapna
17 - Castor

@SH_94 , You can change its data type to int using Select tool and then apply below expression in filter tool.

grazitti_sapna_0-1672816264614.png

 

Sapna Gupta
flying008
14 - Magnetar

Hi, @SH_94 

 

1- ToNumber function to filter your date string.

 

ToNumber([Date]) >= 20210830 && ToNumber([Date]) <= 20221231

 

 

2- Convert string to date and filter your date range.

flying008_0-1672816424987.png

 

******

If it can help you get your want output, please mark it as s solution and give a like to more share.

binuacs
20 - Arcturus

@SH_94 One way of doing this

 

binuacs_0-1672824333986.png

 

Labels