Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Qlikview File

Can anyone please paste attached qlikview code in the message because unable to open attached file

1 Solution

Accepted Solutions
Not applicable
Author

SET ThousandSep=',';

SET DecimalSep='.';

SET MoneyThousandSep=',';

SET MoneyDecimalSep='.';

SET MoneyFormat='£#,##0.00;-£#,##0.00';

SET TimeFormat='hh:mm:ss';

SET DateFormat='DD/MM/YYYY';

SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';

SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';

SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';

Data:

LOAD APPL_ID,

     app_date,

     event_type,

     Date(EVT_DTE, '$(DateFormat)') as EVT_DTE,

     DecisionDate

FROM

[SampleData.xlsx]

(ooxml, embedded labels, table is Sheet1);

AnalysedLast:

LOAD

  APPL_ID,

  FirstValue(EVT_DTE) as AnalysedLastDate

resident Data

where event_type = 'analysed'

group by APPL_ID

order by EVT_DTE desc;

EnteredFirst:

LOAD

  APPL_ID,

  FirstValue(EVT_DTE) as EnteredFirstDate

resident Data

where event_type = 'entered'

group by APPL_ID

order by EVT_DTE;

View solution in original post

3 Replies
Not applicable
Author

SET ThousandSep=',';

SET DecimalSep='.';

SET MoneyThousandSep=',';

SET MoneyDecimalSep='.';

SET MoneyFormat='£#,##0.00;-£#,##0.00';

SET TimeFormat='hh:mm:ss';

SET DateFormat='DD/MM/YYYY';

SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';

SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';

SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';

Data:

LOAD APPL_ID,

     app_date,

     event_type,

     Date(EVT_DTE, '$(DateFormat)') as EVT_DTE,

     DecisionDate

FROM

[SampleData.xlsx]

(ooxml, embedded labels, table is Sheet1);

AnalysedLast:

LOAD

  APPL_ID,

  FirstValue(EVT_DTE) as AnalysedLastDate

resident Data

where event_type = 'analysed'

group by APPL_ID

order by EVT_DTE desc;

EnteredFirst:

LOAD

  APPL_ID,

  FirstValue(EVT_DTE) as EnteredFirstDate

resident Data

where event_type = 'entered'

group by APPL_ID

order by EVT_DTE;

Siva_Sankar
Master II
Master II

pfa

Not applicable
Author

Thanks