<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Applying Appropriate Filters when Selecting in a Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076127#M358980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you are referring to other charts / measures than the shown bar chart when you are saying '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;So the data is showing more data than the users would expect.', right? So you want QV to apply the filters from the chart to the current selection state? But only when the user selects in that chart? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Is this what you are expecting? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2016 14:44:09 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-07T14:44:09Z</dc:date>
    <item>
      <title>Applying Appropriate Filters when Selecting in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076125#M358978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a horizontal bar chart in my application that counts visits by a diagnosis drill-down dimension. My application brings in 2 years of data, but my chart is using set analysis to limit the counts to a particular service type and the most recent year. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sum({&amp;lt;Event_ServiceCat={5},Event_CurrentFlag={1}&amp;gt;} Event_Counter)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a user highlights the top Diagnosis category the app is only applying the Diagnosis filter, but is ignoring the &lt;SPAN style="font-size: 13.3333px;"&gt;Event_ServiceCat and &lt;SPAN style="font-size: 13.3333px;"&gt;Event_CurrentFlag restrictions. So the data is showing more data than the users would expect. I tried adding &lt;SPAN style="font-size: 13.3333px;"&gt;Event_CurrentFlag and &lt;SPAN style="font-size: 13.3333px;"&gt;Event_ServiceCat as Dimensions, but that didn't seem to change anything when selecting the data. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120905_Capture.PNG" style="height: 321px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 12:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076125#M358978</guid>
      <dc:creator />
      <dc:date>2016-04-07T12:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Appropriate Filters when Selecting in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076126#M358979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid I don't understand what you mean. If the expression explicitly selects Even_ServiceCat and Even_CurrentFlag values like your expression then those will be applied regardless of what you do or don't select in Diagnosis. Can you explain in more detail what you are doing and what you expect? A small qlikview document that demonstrates the problem would help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 14:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076126#M358979</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-07T14:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Appropriate Filters when Selecting in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076127#M358980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you are referring to other charts / measures than the shown bar chart when you are saying '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;So the data is showing more data than the users would expect.', right? So you want QV to apply the filters from the chart to the current selection state? But only when the user selects in that chart? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Is this what you are expecting? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 14:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076127#M358980</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-07T14:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Appropriate Filters when Selecting in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076128#M358981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a user selects a bar in the graph associated, the data gets filtered to the Diagnosis data. The chart shows one type of service (Event_ServiceCat = 5) and current year (Event_CurrentFlag = 1) only. So when they filter, they get a drilldown into the 256 cases. However, our reports will show for example 1000 patients, because the filter is only selecting the Diagnosis. So they in other places they are seeing ALL services and the full 2 years of data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to code, is when they select on the graph that the selections become Diagnosis = 'Circulatory', &lt;SPAN style="font-size: 13.3333px;"&gt;Event_ServiceCat =5 and Event_CurrentFlag = 1. This will ensure that the list of patients will be &amp;lt;= the 256 visits that the user thinks they have selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 14:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076128#M358981</guid>
      <dc:creator />
      <dc:date>2016-04-07T14:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Appropriate Filters when Selecting in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076129#M358982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that is correct!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 14:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076129#M358982</guid>
      <dc:creator />
      <dc:date>2016-04-07T14:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Appropriate Filters when Selecting in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076130#M358983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the other charts have no knowledge of the filters you hard-code in your expressions. So you'll either have to hard-code them in the expressions in the other charts too or let users select them for all charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could create expressions that check the number of selections in the Diagnosis field and then use either an expression with the hard-coded selections or the expression without.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's probably easiest to copy the current chart expressions and change the copy to include the hard-coded selections. You can then enable then Conditional option for both expressions and use =If(GetSelectedCount(Diagnosis)=1,1,0) for one expression and &lt;SPAN style="font-size: 13.3333px;"&gt;=If(GetSelectedCount(Diagnosis)=1,0,1) for the other. That way only one of the two will be shown depending on the selection in the Diagnosis field.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 14:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076130#M358983</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-07T14:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Appropriate Filters when Selecting in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076131#M358984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;As you probably know, a selection in a chart is actually selecting dimension values, not expression values, so you are not selecting the 245 visits and the related data, but only the single dimension value Diagnosis Category. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could consider using an action triggered by your dimension selection to select in the two other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might get pretty messy when there are other possibilites (list boxes / charts) to make selections in Diagnosis.&lt;/P&gt;&lt;P&gt;[you could get around this using a field that is a copy of Diagnosis and only used in that chart].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But all this might confuse the user as well. Maybe it's just enough to make it clear what your chart actually is showing (like 'Current year Type 5 Visit Counts by Diagnosis Category').&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 15:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076131#M358984</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-07T15:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Appropriate Filters when Selecting in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076132#M358985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, so I was trying to add the Event_ServiceCat and Event_CurrentFlag to the dimensions, thinking that would apply the selections. But leaving the restrictions in the set analysis seems to nullify the selection in those dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was playing around with the triggers, but as you mentioned it would get very messy jumping to other reports with the Event_ServiceCat selection would actually not be correct. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 15:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076132#M358985</guid>
      <dc:creator />
      <dc:date>2016-04-07T15:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Appropriate Filters when Selecting in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076133#M358986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, how have you tried to add these field to your dimensions in your bar chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 15:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076133#M358986</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-07T15:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Applying Appropriate Filters when Selecting in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076134#M358987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding the following additional fields to my dimensions:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120927_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Selecting the first row in the chart, now applies the Diagnosis and ServiceCat filters, but does no include the CurrentFlag one. Not sure why that is the case. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 15:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-Appropriate-Filters-when-Selecting-in-a-Chart/m-p/1076134#M358987</guid>
      <dc:creator />
      <dc:date>2016-04-07T15:35:36Z</dc:date>
    </item>
  </channel>
</rss>

