Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Not applicable

Show hide objects based on selecting a filter

Hi All

I need to display a text box, only when a filter is selected. I am currently using a variable to show when a button is pressed using actions and conditional show

Is it possible?, so the scenario is click on a filter that contains a fin year, then a text box will appear showing the value.

Any assistance would be appreciated.

Tags (3)
1 Solution

Accepted Solutions
amartinez35
Valued Contributor

Re: Show hide objects based on selecting a filter

Hi,

It's possible you can useConditional option:

test.png

Your condition may be:

  • =GetSelectedCount(Year)=1
  • =GetFieldSelections(Year)=2013

Regards

Aurélien

4 Replies
Not applicable

Re: Show hide objects based on selecting a filter

Yes it is possible.

The Text object visibility condition should be something like: fin_year=2013 , Text object value could be =fin_year

If you want to display the text object for any given selection under fin_year, try replacing the hardcoded value 2013 for something like =Only(fin_year)

amartinez35
Valued Contributor

Re: Show hide objects based on selecting a filter

Hi,

It's possible you can useConditional option:

test.png

Your condition may be:

  • =GetSelectedCount(Year)=1
  • =GetFieldSelections(Year)=2013

Regards

Aurélien

Not applicable

Re: Show hide objects based on selecting a filter

Thanks it works

Not applicable

Re: Show hide objects based on selecting a filter

Thanks

have use =only before but did not seem to work in this context

cheers

Community Browser