<?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 Filtering in charts where dimension set by variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-in-charts-where-dimension-set-by-variable/m-p/554792#M551777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day one and all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a minor frustration with something relating to variables, filtering and clearing said filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable which toggles between being set as 'Admitting' and 'Discharging'.&amp;nbsp; In a chart I am using a calculated dimension which uses the variable to determine whether to bring in the admitting column or the discharging column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. with the variable set to 'Admitting' the admitting column values display along with the related vales in contained with the expression:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart 1.png" class="jive-image" src="/legacyfs/online/48402_Chart 1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a value from the admitting column is selected, the data is filtered to show just this value (which is what I would be expecting).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart1-Filtered.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/48403_Chart1-Filtered.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally in Qlikview you click on the value again (in this case Medical Oncology) to clear the filter/selection.&amp;nbsp; This is where I am having the issue, as no amount of clicking will clear the filter/selection.&amp;nbsp; The only way is to use clear all or the back button - neither of which are ideal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any experience of this? Is this something that is just a quirk of Qlikview (due to using a variable) or is it something that can be resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Oct 2013 12:10:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-31T12:10:32Z</dc:date>
    <item>
      <title>Filtering in charts where dimension set by variable</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-in-charts-where-dimension-set-by-variable/m-p/554792#M551777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day one and all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a minor frustration with something relating to variables, filtering and clearing said filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable which toggles between being set as 'Admitting' and 'Discharging'.&amp;nbsp; In a chart I am using a calculated dimension which uses the variable to determine whether to bring in the admitting column or the discharging column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. with the variable set to 'Admitting' the admitting column values display along with the related vales in contained with the expression:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart 1.png" class="jive-image" src="/legacyfs/online/48402_Chart 1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a value from the admitting column is selected, the data is filtered to show just this value (which is what I would be expecting).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart1-Filtered.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/48403_Chart1-Filtered.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally in Qlikview you click on the value again (in this case Medical Oncology) to clear the filter/selection.&amp;nbsp; This is where I am having the issue, as no amount of clicking will clear the filter/selection.&amp;nbsp; The only way is to use clear all or the back button - neither of which are ideal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any experience of this? Is this something that is just a quirk of Qlikview (due to using a variable) or is it something that can be resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 12:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-in-charts-where-dimension-set-by-variable/m-p/554792#M551777</guid>
      <dc:creator />
      <dc:date>2013-10-31T12:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering in charts where dimension set by variable</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-in-charts-where-dimension-set-by-variable/m-p/554793#M551778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I have hit this problem in the past, I've been able to get around it by wrapping my calculated dimension in the aggr() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 12:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-in-charts-where-dimension-set-by-variable/m-p/554793#M551778</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-10-31T12:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering in charts where dimension set by variable</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-in-charts-where-dimension-set-by-variable/m-p/554794#M551779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, since you're using a calculated dimension that uses two dimensions in the expression, when you click on a bar then values are selected in both fields. What you can do instead is use a variable as calculated dimension and calculate which dimension should be used in that variable. See attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 12:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-in-charts-where-dimension-set-by-variable/m-p/554794#M551779</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-31T12:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering in charts where dimension set by variable</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-in-charts-where-dimension-set-by-variable/m-p/554795#M551780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Gysbert! That's exactly what I needed.&amp;nbsp; I had actually made a stab at this earlier but hadn't quite got the syntax right so your example sorted that out for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 15:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-in-charts-where-dimension-set-by-variable/m-p/554795#M551780</guid>
      <dc:creator />
      <dc:date>2013-10-31T15:25:53Z</dc:date>
    </item>
  </channel>
</rss>

