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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Flags in qliview

What are flags in qlikview ? please give Some examples for better understanding ?

Happy Qliking

Thanks

2 Replies
ThornOfCrowns
Specialist II
Specialist II

Typing flags into the search box at the top right of the screen gives several dozen hits.

jjordaan
Partner - Specialist
Partner - Specialist

Hi,

A flag is often a boolean (true or false) in your data model.

You can use it in your expression.

Common example are in the calendar to calculate for example current year to date (CYTD) like

YearToDate(date [ , yearoffset [ , firstmonth [ , todaydate] ] ])

YearToDate(date, 0, 9, Today()) AS CYTDFlag

In your app you can use in your expression like

Sum({<CYTDFlag= {1}>} SalesAmount)

This is much faster to create the calculation in your app.

Hope this helps