Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Make your voice heard! Participate in the 2020 Wisdom of Crowds® Survey. BEGIN SURVEY
Highlighted
josephinetedesc
Contributor III

Set Analysis And confusing Current Selection Box

Hi all

I now have my graphs working beautifully - using Set Analysis they do not change when a particular dimension is set.

However ... the Current Selection Box is confusing because it will show the selections that have been made in other screens.  What is the best way of doing this to "grey" out the selections that have no effect?

Jo

1 Solution

Accepted Solutions
Highlighted
krishna20
Valued Contributor II

Re: Set Analysis And confusing Current Selection Box

Hi,

If i understand your requirement ,If you don't want see the current selections in other sheets.create trigger as clearall when sheet opens.

View solution in original post

15 Replies
Highlighted

Re: Set Analysis And confusing Current Selection Box

Grey them out in the current selection box or in the list box itself?? Not sure what you are looking to do

Highlighted
josephinetedesc
Contributor III

Re: Set Analysis And confusing Current Selection Box

I can change the Classification for example - but it is confusing because my graph (using set analysis)  is set up to respond only to the set Classification.

Highlighted

Re: Set Analysis And confusing Current Selection Box

Other screens? Do you mean other sheets?

All listboxes and charts on all sheets operate on the same set of fields and tabres (the "data model"). Selections are common to the enitre document, including reports, sheets and all visible objects.So a Current selections object on sheet 20 will reflect selections you make on sheet 1. That's how QlikView works..

Highlighted

Re: Set Analysis And confusing Current Selection Box

Set analysis produces cureent-object-only exceptions to normal selections that are common toi all objects. Set analysis usually only impacts expressions, not selections as such. It may even be that your common selections are taken into account in your set analysis (like "remove ABC frolm the current selection")

A current selections object only reflects common selections, like "green" values in listboxes and dimension selections

Highlighted
krishna20
Valued Contributor II

Re: Set Analysis And confusing Current Selection Box

Hi,

If i understand your requirement ,If you don't want see the current selections in other sheets.create trigger as clearall when sheet opens.

View solution in original post

Highlighted
josephinetedesc
Contributor III

Re: Set Analysis And confusing Current Selection Box

Hi Peter,

but using Set analysis you can make a chart or a text box show only the results of a filter. 

Highlighted

Re: Set Analysis And confusing Current Selection Box

Indeed.

But a set analysis filter is not necessarily controlled by selections. Set analysis often imposes a fixed set of filter values.

I think you should consider set analysis as a set of exceptions to common selection filtering. Set analysis tries to evade somehow the common mechanism of "filtering by interactively making selections".

Highlighted
josephinetedesc
Contributor III

Re: Set Analysis And confusing Current Selection Box

I want to see the selections made in other sheets, but I do not want to confuse the user - the graph will say CLASSIFICATION = CLINICAL, this will not change as I have used {$ <Classification ={ 'Clinical'}> etc.  However if another Classification has been chosen in another sheet - the Current selection box shows a different Classification.

Maybe I could create a trigger which will change the Classification on entry to the page?

Highlighted
josephinetedesc
Contributor III

Re: Set Analysis And confusing Current Selection Box

It works if I put the trigger so that when the page opens - the Classification is set to 'Clinical' - that way the user is not confused by looking at the Current Selection Box.  I think this might be the best way to avoid the confusion of the graph doing one thing and the Current Selection Box saying another.