<?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: Limiting Date Range in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limiting-Date-Range-in-Chart/m-p/1441670#M801849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claire,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try using a calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First set up a new variable to hold current year&lt;/P&gt;&lt;P&gt;vCurrentYear = YEAR(TODAY())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your calculated dimension.&lt;/P&gt;&lt;P&gt;=IF(SUM({&amp;lt;Year={$(vCurrentYear)&amp;gt;}}VALUE) &amp;lt;&amp;gt; 0, Month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2017 13:49:11 GMT</pubDate>
    <dc:creator>Mark_Little</dc:creator>
    <dc:date>2017-11-22T13:49:11Z</dc:date>
    <item>
      <title>Limiting Date Range in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-Date-Range-in-Chart/m-p/1441669#M801848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart below that compares 2016 and 2017 values.&amp;nbsp; How do I limit the months that are shown, so that those months without comparison (i.e., November and December) are not shown?&amp;nbsp; You can see below that there is not yet 2017 data for November or December, so I don't want to include these until data is populated. Is there a dynamic way to do so? So that when November data pulls in, we can see the previous year's data come back into view?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="date question.png" class="jive-image image-1" src="/legacyfs/online/184225_date question.png" style="width: 620px; height: 319px;" /&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/Limiting-Date-Range-in-Chart/m-p/1441669#M801848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting Date Range in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-Date-Range-in-Chart/m-p/1441670#M801849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claire,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try using a calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First set up a new variable to hold current year&lt;/P&gt;&lt;P&gt;vCurrentYear = YEAR(TODAY())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your calculated dimension.&lt;/P&gt;&lt;P&gt;=IF(SUM({&amp;lt;Year={$(vCurrentYear)&amp;gt;}}VALUE) &amp;lt;&amp;gt; 0, Month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-Date-Range-in-Chart/m-p/1441670#M801849</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2017-11-22T13:49:11Z</dc:date>
    </item>
  </channel>
</rss>

