Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
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.
Hi,
may be this setting
Regards,
Antonio
I didn't get the expected result on doing so also.
Share sample app
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.
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.
Thanks Henrik,
Now its working.