<?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: Filtering a chart dimension when the expression uses set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119384#M753783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Juraj.&lt;/P&gt;&lt;P&gt;I do want to be able to see all values of [Field A]. The problem is that I want the user to be able to click in the chart to make selections based on the [Field A] values that aren't in the currently selected Week (i.e., that are in grey in the list box).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2018 08:57:56 GMT</pubDate>
    <dc:creator>Ben_P</dc:creator>
    <dc:date>2018-09-28T08:57:56Z</dc:date>
    <item>
      <title>Filtering a chart dimension when the expression uses set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119380#M753779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;I have a chart that uses set analysis in the expression to show data for all Week values. Week is set to 'always one selected value', so the chart overrides this selection.&lt;/P&gt;&lt;P&gt;The problem I have is shown below. The chart has FieldA as a dimension, and shows data for all Week values. However the list box shows that there are only two values for FieldA in the currently selected Week.&lt;/P&gt;&lt;P&gt;I want the user to be able to highlight for example the first three FieldA values in the chart to narrow the selection. The problem I have is that when they do this, all filters on all other fields are cleared because there are no corresponding FieldA values for the currently selected Week.&lt;/P&gt;&lt;P&gt;Is there a way to solve this? I've tried applying set analysis to the dimension, but don't seem to be getting anywhere.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214672_QV.PNG" style="height: 199px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119380#M753779</guid>
      <dc:creator>Ben_P</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a chart dimension when the expression uses set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119381#M753780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;can you post your expression here? This seems as if the set analysis contained something else as well.&lt;/P&gt;&lt;P&gt;Juraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119381#M753780</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2018-09-28T08:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a chart dimension when the expression uses set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119382#M753781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was simplifying a bit, the chart is actually slightly more complex.&lt;/P&gt;&lt;P&gt;There are two dimensions, firstly a cyclic group of [Field A] and [Field B], and secondly a drill-down group [Hierarchy].&lt;/P&gt;&lt;P&gt;The expression is as below. $(vWeek) is the currently selected Week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Month=,Week={'&amp;lt;=$(=$(vWeek))'}&amp;gt;} St_Hrs)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;[Hierarchy]&amp;gt; {&amp;lt;Month=,Week={'&amp;lt;=$(=$(vWeek))'},[Field A]=,[Field B]=&amp;gt;}Tot_Hrs)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119382#M753781</guid>
      <dc:creator>Ben_P</dc:creator>
      <dc:date>2018-09-28T08:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a chart dimension when the expression uses set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119383#M753782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum({$&amp;lt;Month=,Week={'&amp;lt;=$(=$(vWeek))'}&amp;gt;} St_Hrs)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;[Hierarchy]&amp;gt; {&amp;lt;Month=,Week={'&amp;lt;=$(=$(vWeek))'},&lt;STRONG style="color: #ff0000;"&gt;[Field A]=&lt;/STRONG&gt;,[Field B]=&amp;gt;}Tot_Hrs)&lt;/P&gt;&lt;P&gt;is the reason why you see all values for Field A. Based on your requirements you might want to put Tot_Hrs field to a separate table in data model so that you don't have to calculate it this way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119383#M753782</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2018-09-28T08:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a chart dimension when the expression uses set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119384#M753783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Juraj.&lt;/P&gt;&lt;P&gt;I do want to be able to see all values of [Field A]. The problem is that I want the user to be able to click in the chart to make selections based on the [Field A] values that aren't in the currently selected Week (i.e., that are in grey in the list box).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119384#M753783</guid>
      <dc:creator>Ben_P</dc:creator>
      <dc:date>2018-09-28T08:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a chart dimension when the expression uses set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119385#M753784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I see. Sorry I didn't read carefully enough.&lt;/P&gt;&lt;P&gt;I'd try achieve this with alternate states. Try putting the Field A list box in another state, then you can use it in set analysis.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Alternate%20States.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Alternate%20States.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Alternate%20States.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 09:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119385#M753784</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2018-09-28T09:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a chart dimension when the expression uses set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119386#M753787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Juraj. I've followed your suggestion and managed to get it working correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 10:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119386#M753787</guid>
      <dc:creator>Ben_P</dc:creator>
      <dc:date>2018-09-28T10:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a chart dimension when the expression uses set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119387#M753789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 10:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-chart-dimension-when-the-expression-uses-set/m-p/119387#M753789</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2018-09-28T10:34:47Z</dc:date>
    </item>
  </channel>
</rss>

