Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Not applicable

How to use variables in container object?

I have container object. In that 3 charts are there.pie,line and bar chart. i have given this names in lables of contaner objects.

now i want to use variable in lable of that contaner object. but its is not showing proper value ?

i am using =variablename but instead of its value it is displaying =variablename as text only .

how to slove this?

5 Replies
sushil353
Honored Contributor II

How to use variables in container object?

is it possible to share the application...

Highlighted
Partner
Partner

How to use variables in container object?

You have to use =$(variablename) for showing the value of the variable.

azimabadi
Contributor III

Re: How to use variables in container object?

then it shows : =$(variablename) as label. nobody has any idea???

Partner
Partner

Re: How to use variables in container object?

When you say label of the container object, do you mean the label for the charts in the container object??

If so then, you need to create a variable like for eg.

v1 = 'Bar chart'

and use this variable in the label for the chart contained in the container object as

=v1

Please elaborate your requirement if this information is not sufficient.

Re: How to use variables in container object?

How do you created the variable and how do you call that variable on object. Would you provide screen shot fir that

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)