Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

marksmunich
Contributor III

how to use flag in qlikview


how to use flag in qlikview. flag returns values like 0,1 when and where to use any example.

Tags (1)
4 Replies
thornofcrowns
Valued Contributor II

Re: how to use flag in qlikview

I don't understand your question, could you give a bit more information? Do you mean how to set and retrieve a variable value?

Not applicable

Re: how to use flag in qlikview

hi

in script try this

load * inline [

flag

0

1

];

***********************************

generally we generate flag for certain condition.

michielvandegoo
Valued Contributor

Re: how to use flag in qlikview

There are more than 1 ways to generate flags.

NULL functions generate 0 or -1.

You can use if statements to generate a value, any value, that can be used as flag.

In the GUI you can reuse these flags for all kind of expressions, conditions etc.

Too much too list here on the forum.

Like James's question, be more specific please.

marksmunich
Contributor III

Re: how to use flag in qlikview

what is a flag, where do we use it, what is its importance, could you explain it with an example.