Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Condition to show a chart

Hello everyone,

How to Hide/Unhide Charts based on selections in a List box ?

I want that my chart be there if I pick something in the list box.

What would be the best way to do it ?

I have already tried in different ways : GetCurrentField / GetCurrentSelections / Count / GetFielsSelections but no results...

Thank you for you support,

Emmanuelle

1 Solution

Accepted Solutions
Not applicable
Author

It was a properties in the document... "Afficher tous les objets et feuilles"

Thank you all of you

PROPERTIES.png

View solution in original post

8 Replies
Chanty4u
MVP
MVP

this?

=getselectedcount(field)>0

sunny_talwar

I would try using GetSelectedCount()

sdmech81
Specialist
Specialist

Hi,

PFA and select something in date u wil see text box..

Go there in text box n see the condition in layout tab.

I wrote something like:  GetSelectedCount(date)>=1

Sachin

sdmech81
Specialist
Specialist

Similarly u do it in ur chart by replacing date by ur list box dimension..

Thanks

Not applicable
Author

No working for all your solutions...

It's possible to have some properties in document QW who prevent the condition ?

sdmech81
Specialist
Specialist

Send application,if possible.

It should work..

Sachin

Anonymous
Not applicable
Author

Where are you adding the condition?

The condition should be here

Chart Properties >

ShowHide_Condition.PNG

> Requires only one selection to view the chart

=GetSelectedCount(YourFieldname) = 1

> Can have One or many selections to view the chart

=GetSelectedCount(YourFieldname) <> 0

Not applicable
Author

It was a properties in the document... "Afficher tous les objets et feuilles"

Thank you all of you

PROPERTIES.png