Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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.