Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all
i'm post a question in:
https://community.qlik.com/t5/New-to-Qlik-Sense/Nprinting-Condition-not-working/m-p/1556193#M129689
Hope someone can help
thanks
this comes down to a very simple understanding of how variables work. Your variable in Qlik Sense contains a string and at this stage is not evaluated.
When you call this variable in any Qlik Sense Object you are passing this string into Expression and then it evalueates (that is why you see "1" on your screenshots).
Now down to NPrinting - in this case you want a RESULT of your variable calcualtion to be checked agains your condition (but at this stage your variable is not evaluated and it still contains just text "IF($(vHectares)> 0,1,0)")
The only option to evaluate variable before passing it to NPrinitng condition is to put equal sign ("=") in front of it in Qlik Sense definition - like: "=IF($(vHectares)> 0,1,0)"
Then you might have another problem as inside you have another variable which depends on its syntax will/will not work properly.
Check on help.qlik.com how for more information on what level conditions can be applied (task/report level etc..)
this comes down to a very simple understanding of how variables work. Your variable in Qlik Sense contains a string and at this stage is not evaluated.
When you call this variable in any Qlik Sense Object you are passing this string into Expression and then it evalueates (that is why you see "1" on your screenshots).
Now down to NPrinting - in this case you want a RESULT of your variable calcualtion to be checked agains your condition (but at this stage your variable is not evaluated and it still contains just text "IF($(vHectares)> 0,1,0)")
The only option to evaluate variable before passing it to NPrinitng condition is to put equal sign ("=") in front of it in Qlik Sense definition - like: "=IF($(vHectares)> 0,1,0)"
Then you might have another problem as inside you have another variable which depends on its syntax will/will not work properly.
Check on help.qlik.com how for more information on what level conditions can be applied (task/report level etc..)