Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

only date should filter instaed of text

Hi All,

I have field which is having data like string and date also but i want to filter data whose having only date fields instead of string records,

Ex: Date

     Before 99

      1/9/2009

      2/9/2010

BUt I want only dates records i dnt want first record as an output.QlikTech Admin

4 Replies
senpradip007
Specialist III
Specialist III

Try this,

Load

Date(Date, 'DD/MM/YYYY') As Date


From <Data Source>;

jsingh71
Partner - Specialist
Partner - Specialist

Hi Rupali,

Find example in attachment.

--Jai

tresesco
MVP
MVP

Rupali,

If you can find a pattern to filter, you can do it. Say, for example, from your sample data if I take that date data format would be like DD/MM/YYYY, then may be you can try like:

Load

          YourField

From <> Where IsNum(Date#(Trim(YourField), 'DD/MM/YYYY'));

maxgro
MVP
MVP

you ca use IsNum or IsText to filter your records in the script