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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Flags ?

HI All,

How to use flags in QLikView ?

2 Replies
arulsettu
Master III
Master III

its_anandrjs
Champion III
Champion III

Hi Heather,

Assume the simple example suppose you have dates and you need to find which date is equals to monthstart date in the load script then create another flag field as MonthstartFlag for find the

A:

LOAD SBUName,ComiDate,MonthStart(ComiDate) as MonStart;

LOAD * Inline

[

SBUName,ComiDate

A,8/1/2014

B,9/17/2014

C,10/1/2014

D,11/22/2014

];

NoConcatenate

N:

LOAD SBUName,ComiDate,if(ComiDate=MonStart,1,0) as MonthstartFlag

Resident A;

DROP Table A;

Flag.png

Regards

Anand