Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
subbareddykm
Creator II
Creator II

Date Fetch

Hi All ,

can anyone ease tell the how to fetch the date from unstructured format data.

I tried it in many function like mid , replace date and all but no luck.

Could anyone please tell me the logic to get the date using ref file.

1 Solution

Accepted Solutions
fvelascog72
Partner - Specialist
Partner - Specialist

Hi,

Try with:

DATA:

LOAD

     Right(DATE,4)& Left(DATE,2)           as YearMonth,

     [Date Format];

LOAD

     Right(KeepChar([Date Format], '1,2,3,4,5,6,7,8,9,0'),6) as "DATE",

     [Date Format]

FROM

[Date.xlsx]

(ooxml, embedded labels, table is Document_LB44);

Saludos.

View solution in original post

1 Reply
fvelascog72
Partner - Specialist
Partner - Specialist

Hi,

Try with:

DATA:

LOAD

     Right(DATE,4)& Left(DATE,2)           as YearMonth,

     [Date Format];

LOAD

     Right(KeepChar([Date Format], '1,2,3,4,5,6,7,8,9,0'),6) as "DATE",

     [Date Format]

FROM

[Date.xlsx]

(ooxml, embedded labels, table is Document_LB44);

Saludos.