<?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: Custom Date Range to display in Bar Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015281#M1315833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sreeni! The visual was great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 13:16:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-26T13:16:07Z</dc:date>
    <item>
      <title>Custom Date Range to display in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015277#M1315818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fairly new to this awesome tool and community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data spans 20 years and for a particular chart I would like to only display data for 2016-2019. &lt;/P&gt;&lt;P&gt;My expression is a simple count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best approach to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a side, I did manage to create a list box and limiting it to 2016-2019, however, dont know the optimal method to limit the data range in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best.&lt;BR /&gt;Sarosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015277#M1315818</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Date Range to display in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015278#M1315821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;As a side, I did manage to create a list box and limiting it to 2016-2019, however, dont know the optimal method to limit the data range in the chart.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's a very good way to do it. It leaves the user free to change the range if necessary.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also limit the range in the expressions. Suppose you have a Year field and an expression sum(Forecast). To limit that expression to 2016-2019 you'd change it to sum({&amp;lt;Year={2016,2017,2018,2019}&amp;gt;}Forecast) or to sum({&amp;lt;Year={'&amp;gt;=2016&amp;lt;=2019'}&amp;gt;}Forecast). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet another way is to create a bookmark for that selection and then use the bookmark (for example a bookmark with ID BM04) in the expression: sum({BM04}Forecast).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you really only need that range and won't use data from the other years in your document at all, then don't load the data from those years. Load only the data you need in the script and filter out the other data with a WHERE clause in the load statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyTable:&lt;BR /&gt;LOAD * FROM MySource WHERE Year &amp;gt;= 2016 and Year &amp;lt;=2019;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 18:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015278#M1315821</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-25T18:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Date Range to display in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015279#M1315824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for the detailed response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 00:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015279#M1315824</guid>
      <dc:creator />
      <dc:date>2016-04-26T00:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Date Range to display in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015280#M1315828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the below chart expression. using YEAR dimension. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122650_Capture.PNG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 06:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015280#M1315828</guid>
      <dc:creator>sreeni_qvd</dc:creator>
      <dc:date>2016-04-26T06:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Date Range to display in Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015281#M1315833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sreeni! The visual was great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 13:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Date-Range-to-display-in-Bar-Chart/m-p/1015281#M1315833</guid>
      <dc:creator />
      <dc:date>2016-04-26T13:16:07Z</dc:date>
    </item>
  </channel>
</rss>

