Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

bharatkishore
Contributor III

Button Selections

Hi All,

I have two charts and a button in one sheet. Now my requirement is if i do any selections in one chart the button(Name is "Clear Filters")

should  be able to clear only that particular chart.. It should not reflect the other chart.

Note: I do not want using Alternate States

Thanks,

Bharat

14 Replies
Chanty4u
Esteemed Contributor III

Re: Button Selections

can u share sample qvw?

is that button hvng  trigger with clear all?

Digvijay_Singh
Honored Contributor III

Re: Button Selections

I don't think it is possible without alternate state if there are common fields between both charts. Lets see what others think.

bharatkishore
Contributor III

Re: Button Selections

Sorry to say that i cannot share a sample qvw.

No it is not having any actions.

bharatkishore
Contributor III

Re: Button Selections

Yes vijay.. there are common fields..

MVP
MVP

Re: Button Selections

Alternate states is one way to implement that, but if you want to avoid alt states, use set analysis.


You can override all selections using a set expression like:

     Sum({1} Amount)


Or in specific fields using this pattern:

     Sum({<Field1=, Field2=>} Amount)


So you could apply one of these patterns to your 'fixed' chart.


I suggest that you upload a sample illustrating what you require for more specific help.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Chanty4u
Esteemed Contributor III

Re: Button Selections

chk the attached

bharatkishore
Contributor III

Re: Button Selections

Thanks Chanty for the reply. The file what you have sent there we have one button, now when you are clicking that button the two charts are getting cleared. But i need only one chart to be cleared and the other one should remain the same.

Chanty4u
Esteemed Contributor III

Re: Button Selections

chk it

bharatkishore
Contributor III

Re: Button Selections

Thanks for the file.. But if you do any selections in the chart and while clicking the button it is clearing the two charts. But if i do filters in one chart the button should be able to clear that chart only.. Not the two charts.