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

Announcements
Data Works for AI is here - Join the discussion and enter to win a pair of Qlik kicks: Join the Conversation!
cancel
Showing results for 
Search instead for 
Did you mean: 
vishalmanu
Partner - Creator
Partner - Creator

Flags concept in Qlikview

Hi Alla,

can someone please explain me the flags concept in Qlikview. Kindly please provide a clear cut explanation, any reference documents would be higly appreciated.

Thanks

Vishal

Labels (1)
3 Replies
sunny_talwar
MVP
MVP

vishalmanu
Partner - Creator
Partner - Creator
Author

Hi Sunny,

Thanks for the info. Although i did not understand the concept exactly what it is, i got some understanding on the concept.

Thanks

marcus_sommer
MVP
MVP

The idea behind flags is to transfer calculations respectively parts of them from the gui into the script so that those informations exists already as native fields within the datamodel.

Quite common for it are period-matchings like YTD or LYTD - of course you could use set analysis or various if-loops within your gui-expressions to refer to these periods - but often it will be easier to define these periods within the script within a master-calendar and using then simplified expressions like this: sum(value) * Flag_YTD.

Beside simplifying things will be the performance with flags significantly better than with more complex conditions within the gui-expressions.

- Marcus