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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
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
tresB
Champion III
Champion III

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............!!!