Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
amigo007
New Contributor III

Hiding/Showing objects

I have created 3 text boxes and put them on the left side of the dashboard in a vertical way, I would like to show set of objects, e.g. charts and tables, based on the selected text box. In other words, if I click text box 1, the text in the text boxes 2 and 3 will be gray instead of black and I get a set of graphs and tables. Likewise, if I click text box 2, the text in text boxes 1 and 3 will be gray (text in text box 2 will get black) and then hide the first sets of objetcs and show new graphs and tables.

Is this possible to achieve?

Thanks in advance.

4 Replies
ramasaisaksoft
Valued Contributor III

Re: Hiding/Showing objects

Try this,

    Button -  action - Set Variable ->vhide

Value:

    =If(vhide = 0, 1, 0)

In chart, use vhide variable  in Layut-conditional  - show = vhide


else


Using a button to show/hide different charts | Qlik Community


You tube link


Show and Hide Multiple Objects - YouTube


Re: Hiding/Showing objects

Partner
Partner

Re: Hiding/Showing objects

Hello,

Or you can use triggers

sudeepkm
Valued Contributor III

Re: Hiding/Showing objects

Another approach would be to use a Field instead of variables and button or text objects. Example attached.

set hideprefix = '_';

Load * inline [

_show

chart1

chart2

chart3

];

t275368_1.png