<?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 Limiting the date range in the dimention in a Line Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limiting-the-date-range-in-the-dimention-in-a-Line-Chart/m-p/328817#M582394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to restrict the range of dates appearing on the X axis of a Line Chart.&amp;nbsp; on X Axis where as I have 2 years month end dates in the back end data file which is getting loaded. &lt;/P&gt;&lt;P&gt;I have defined 6 variables which will get me the data of the last 6 month ends. Now I am trying to put those variable on the dimention so that only those last 6 month end dates appear in the X axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in providing the expresion that should be used to do it..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Guys in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2011 08:54:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-18T08:54:54Z</dc:date>
    <item>
      <title>Limiting the date range in the dimention in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-the-date-range-in-the-dimention-in-a-Line-Chart/m-p/328817#M582394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to restrict the range of dates appearing on the X axis of a Line Chart.&amp;nbsp; on X Axis where as I have 2 years month end dates in the back end data file which is getting loaded. &lt;/P&gt;&lt;P&gt;I have defined 6 variables which will get me the data of the last 6 month ends. Now I am trying to put those variable on the dimention so that only those last 6 month end dates appear in the X axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in providing the expresion that should be used to do it..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Guys in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 08:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-the-date-range-in-the-dimention-in-a-Line-Chart/m-p/328817#M582394</guid>
      <dc:creator />
      <dc:date>2011-11-18T08:54:54Z</dc:date>
    </item>
    <item>
      <title>Limiting the date range in the dimention in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-the-date-range-in-the-dimention-in-a-Line-Chart/m-p/328818#M582395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wouldn't use variables for that, but maybe a calculated dimension (you could also use set analysis in your expressions to limit the date range, but let's start with a calculated dimension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you have a field Date with the month end dates and you want to show the last 6 months only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you might try (using this as calculated dimension expression in dimension tab):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Date&amp;gt;= addmonths(today(),-6), Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also check suppress NULL on dimension tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is what you want, we can look into doing the same with set analysis, this is probably performing better on large data sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 11:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-the-date-range-in-the-dimention-in-a-Line-Chart/m-p/328818#M582395</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-18T11:15:24Z</dc:date>
    </item>
    <item>
      <title>Limiting the date range in the dimention in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-the-date-range-in-the-dimention-in-a-Line-Chart/m-p/328819#M582396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked like magic.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks Stefan...!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 07:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-the-date-range-in-the-dimention-in-a-Line-Chart/m-p/328819#M582396</guid>
      <dc:creator />
      <dc:date>2011-11-23T07:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting the date range in the dimention in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-the-date-range-in-the-dimention-in-a-Line-Chart/m-p/1626760#M582397</link>
      <description>&lt;P&gt;This post is old, but someone might be able to answer. The if(date&amp;gt;='DATE', date) has the side effect of disbeling axis scaling when a filter is active. Is there another way to do this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 07:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-the-date-range-in-the-dimention-in-a-Line-Chart/m-p/1626760#M582397</guid>
      <dc:creator>sergedegosson</dc:creator>
      <dc:date>2019-09-23T07:42:20Z</dc:date>
    </item>
  </channel>
</rss>

