<?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 `Hide Non-Selected Values, on an Ignore Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-Non-Selected-Values-on-an-Ignore-Selections/m-p/1104293#M521994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart, that accumulates... totaling an amount by year &lt;/P&gt;&lt;P&gt;&lt;IMG alt="chrt1.JPG" class="jive-image image-1" height="169" src="https://community.qlik.com/legacyfs/online/123950_chrt1.JPG" style="height: 169px; width: 329.62px;" width="330" /&gt;&lt;/P&gt;&lt;P&gt;I want to allow a user to drill into the years... without the user selections to affect the totals. &lt;/P&gt;&lt;P&gt;So, I've gone the route of using set analysis, where I ignore year selects:&amp;nbsp;&amp;nbsp; sum({$&amp;lt;[Year]=&amp;gt;}[Cash Amount])&lt;/P&gt;&lt;P&gt;[If I don't include this, then the totals change... adding up only for the years selected]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine... however, extraneous years still show on the chart... Here is the same chart, &lt;EM&gt;with years 2005-2016 selected&lt;/EM&gt;... As you can see, the non-selected years...still show on the chart... and still accumulate:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chrt2.JPG" class="jive-image image-2" height="138" src="https://community.qlik.com/legacyfs/online/123951_chrt2.JPG" style="height: 137.543px; width: 353px;" width="353" /&gt;&lt;/P&gt;&lt;P&gt;Is there a way to hide the years, &lt;EM&gt;not selected &lt;/EM&gt; ...?&amp;nbsp; That is, honor user selections for which years to view , but ignore the years selected for the total amount? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jarrell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2016 12:29:37 GMT</pubDate>
    <dc:creator>jrdunson</dc:creator>
    <dc:date>2016-05-09T12:29:37Z</dc:date>
    <item>
      <title>`Hide Non-Selected Values, on an Ignore Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Non-Selected-Values-on-an-Ignore-Selections/m-p/1104293#M521994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart, that accumulates... totaling an amount by year &lt;/P&gt;&lt;P&gt;&lt;IMG alt="chrt1.JPG" class="jive-image image-1" height="169" src="https://community.qlik.com/legacyfs/online/123950_chrt1.JPG" style="height: 169px; width: 329.62px;" width="330" /&gt;&lt;/P&gt;&lt;P&gt;I want to allow a user to drill into the years... without the user selections to affect the totals. &lt;/P&gt;&lt;P&gt;So, I've gone the route of using set analysis, where I ignore year selects:&amp;nbsp;&amp;nbsp; sum({$&amp;lt;[Year]=&amp;gt;}[Cash Amount])&lt;/P&gt;&lt;P&gt;[If I don't include this, then the totals change... adding up only for the years selected]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine... however, extraneous years still show on the chart... Here is the same chart, &lt;EM&gt;with years 2005-2016 selected&lt;/EM&gt;... As you can see, the non-selected years...still show on the chart... and still accumulate:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chrt2.JPG" class="jive-image image-2" height="138" src="https://community.qlik.com/legacyfs/online/123951_chrt2.JPG" style="height: 137.543px; width: 353px;" width="353" /&gt;&lt;/P&gt;&lt;P&gt;Is there a way to hide the years, &lt;EM&gt;not selected &lt;/EM&gt; ...?&amp;nbsp; That is, honor user selections for which years to view , but ignore the years selected for the total amount? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jarrell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 12:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Non-Selected-Values-on-an-Ignore-Selections/m-p/1104293#M521994</guid>
      <dc:creator>jrdunson</dc:creator>
      <dc:date>2016-05-09T12:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: `Hide Non-Selected Values, on an Ignore Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Non-Selected-Values-on-an-Ignore-Selections/m-p/1104294#M521995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;[Year]=&amp;gt;}[Cash Amount]) &lt;SPAN style="color: #ff0000;"&gt;* Avg(1)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Avg(1) will become 0 forcing your expression to be 0 for years which are not selected. For years that are selected Avg(1) will be 1 and will give the unfiltered output for the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 12:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Non-Selected-Values-on-an-Ignore-Selections/m-p/1104294#M521995</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-09T12:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: `Hide Non-Selected Values, on an Ignore Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Non-Selected-Values-on-an-Ignore-Selections/m-p/1104295#M521996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two options,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) use advanced aggregation around your current expression, with Year as dimension&lt;/P&gt;&lt;P&gt;b) use an AsOf table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both approaches are described here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 12:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Non-Selected-Values-on-an-Ignore-Selections/m-p/1104295#M521996</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-09T12:35:06Z</dc:date>
    </item>
  </channel>
</rss>

