Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

jadewind
Contributor

Delete a chart if a filter is applied

Hi everyone,

I am dealing with some data with a hierarchy such as Country/State/City. I want to create some charts where nothing has been selected, these charts will show an overview of the data, but when a State is selected I don't want these charts to show at all.

Is it possible to do this? If so how?

Thanks in advance!

13 Replies
greeshma_k
Contributor III

Re: Delete a chart if a filter is applied

You can give a layout condition on the chart as

getselectedcount(State) = 0

This will ensure that the chart shows up only when no selection has been made on the State.

kalyanivintha1
Contributor II

Re: Delete a chart if a filter is applied

Hi jade,

Try like this....

after created all the charts,

apply this condition on the object which you want's to hide.


If(Match(Region,'State'),0,1)

use this condition on the object properties

go to layout

select conditional

in that write this condition then........after applying this you meet your requirement.

means...when you selected on the state the object is going to hide..and when you selected on the country or city the object is shown.

Thanq.



arasantorule
Contributor III

Re: Delete a chart if a filter is applied

Hi,

Currently in Qlik Sense there is no option to hide/delete object (Chart).

However, we can stop showing values on chart by applying  "Calculation condition" under add-ons---> Data Handling section in chart properties.

Thanks.

nitin_01
Contributor

Re: Delete a chart if a filter is applied

Hi Jade,

      

      

        In QlikSense you can hide "data" within chart using "Data handling" under "Adds on" Property of chart.

But this keeps chart layout intact unlike Qlikview "Conditional Layout" under "Layout" tab.

Regards,

Nitin.

kalyanivintha1
Contributor II

Re: Delete a chart if a filter is applied

is this issue in qlikview or qliksense..?

jadewind
Contributor

Re: Delete a chart if a filter is applied

Thanks Greeshma for trying to help. I am using Qlik Sense 3.0 and do not seem to be able to find "Layout condition". Were you referring to Qlik View?

jadewind
Contributor

Re: Delete a chart if a filter is applied

Hi Kalyani,

Where can I find Layout?

jadewind
Contributor

Re: Delete a chart if a filter is applied

Thanks Nitin,

Looks like I cannot hide the chart at all...

jadewind
Contributor

Re: Delete a chart if a filter is applied

Thanks Silambarasan.