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

flag

Hi Viewers,

how to create flage for

same employees(emp id) which having different doj

Any help will be appreciated!

21 Replies
tresesco
MVP
MVP

Ohh, got it. Use Floor() like:

Capture.PNG

t1:

LOAD id,

     Date(floor(doj),'DD-MMM-YY') as doj,

     type

FROM

[modify.xlsx]

(ooxml, embedded labels, table is May);

LOAD id,

     Date(floor(doj),'DD-MMM-YY') as doj,

     type

FROM

[modify.xlsx]

(ooxml, embedded labels, table is Jun);

join

LOAD

id,

Count(DISTINCT doj) as count

Resident t1

Group By id;

final:

LOAD*,

If(count>1,1,0) as flag1

Resident t1;

DROP Table t1;

satishqlik
Creator II
Creator II
Author

Thank you!!

This is what am exactly looking for............!!!