Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

To hide text "No Data to Display" in Qlikview

Good Morning Everyone,

Today I am trying to hide chart if nothing is selected.

But by default, I got the text which was given under pic.

Can anyone help me?legend.jpg

1 Solution

Accepted Solutions
henrikalmen
Specialist
Specialist

On the chart object's layout tab (in properties for the chart) you can mark "Conditional" under "Show". Your criteria expression could be this if you want to hide the object when nothing is selected: len(GetCurrentSelections())

That will return 0 when nothing is selected, and a number above 0 if selections are made. 0 will hide the chart, and a positive value will show it.

View solution in original post

6 Replies
antoniotiman
Master III
Master III

Hi,

may be this setting

Regards,

Antonio

Anonymous
Not applicable
Author

I didn't get the expected result on doing so also.

prma7799
Master III
Master III

Share sample app

Anonymous
Not applicable
Author

Its Simple :

1) ListBox-------------Field-------Month

2) Gauge Chart

    a) Expression : =if(GetFieldSelections(Month)>=0,Sum(Sales))

    b) Layout Tab  : =if(GetFieldSelections(Month)>=0,Sum(Sales))

    c) Style Tab    :  Last one digital one.

henrikalmen
Specialist
Specialist

On the chart object's layout tab (in properties for the chart) you can mark "Conditional" under "Show". Your criteria expression could be this if you want to hide the object when nothing is selected: len(GetCurrentSelections())

That will return 0 when nothing is selected, and a number above 0 if selections are made. 0 will hide the chart, and a positive value will show it.

Anonymous
Not applicable
Author

Thanks Henrik,

Now its working.