Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

javier_garcia_g
New Contributor III

Start with the chart empty. Any selected in filter pane.

Hello.

I would like start with the charts empty. And then, when I choose the options in the filter panes, chart begin to draw the lines and the information.

Beacuse now I see that select all options in filter panes is the same than not select anything.


I was thinkig about create a variable of the filters panes to check is something was selected or no.

How I can make this? Change something in the expresion of the chart? modify the expresion of the filter panes? Writing in the data loading script?

Can somebody help me?

Thanks and regards.

1 Solution

Accepted Solutions
javier_garcia_g
New Contributor III

Re: Start with the chart empty. Any selected in filter pane.

Finally, I used this fuction: GetSelectedCount()

I put this fuction in a if: GetSelectedCount(field_name)<>0. so when nothing is selected, the chart doesn't show anything.

More information here: https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/ChartFunctions/FieldFunctions...

Regards.

2 Replies
javier_garcia_g
New Contributor III

Re: Start with the chart empty. Any selected in filter pane.

Finally, I used this fuction: GetSelectedCount()

I put this fuction in a if: GetSelectedCount(field_name)<>0. so when nothing is selected, the chart doesn't show anything.

More information here: https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/ChartFunctions/FieldFunctions...

Regards.

javier_garcia_g
New Contributor III

Re: Start with the chart empty. Any selected in filter pane.

Does someone know why GetSelectedCount not work when I use a table create in the script by LOAD * INLINE?

Not recognise the field.


Thanks

Community Browser