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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Variable name not appearing in States

Hi guys,

Hoping someone can help I have a variable called vLeaseCo, I have a graph which is set in state A for some reason the variable name is not appearing in chart title..

But when I create a text object with =vLeaseCo the name appears, please help so stuck !

Thanks

Sarah

7 Replies
Anonymous
Not applicable
Author

Could it be that when evaluated against state A, the variable evaluates to null ?

What happens if you set your Text Box to state A ?

SunilChauhan
Champion II
Champion II

in chart title you could type = and then type variable name

hope this helps

Sunil Chauhan
marcus_malinow
Partner - Specialist III
Partner - Specialist III

Hi Sarah,

what is the expression for your chart title?

I'm guessing it should be something like

='Text '& $(vLeaseCo) & '  more text'

Marcus

tresesco
MVP
MVP

How is your variable defined? May be your variable definition includes some state other than State A.

Not applicable
Author

Hi Bill when I try that the variable is set to null so need to figure out why it is doing that 😕

SunilChauhan
Champion II
Champion II

define your variable using

SET  for ex:

Set vLeaseCo=your expression here;

then try using $(vLeaseCo)

and also check if the chart matching the criteria like text

might there some condition on chart stoping that

hope this helps

Sunil Chauhan
Not applicable
Author

You could try this: