Skip to main content
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

3 Replies
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

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