<?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: Function for values in a date range ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390989#M145812</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;Thanks for your very fast response !&lt;/P&gt;&lt;P&gt;My understanding is that IntervalMatch is a scripting function (to filter the data loaded).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load 3 year's worth of data (say) and let the user enter start and end dates on the information they wish to view in a chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2012 08:44:57 GMT</pubDate>
    <dc:creator>richard_chilvers</dc:creator>
    <dc:date>2012-11-01T08:44:57Z</dc:date>
    <item>
      <title>Function for values in a date range ?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390987#M145810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like many, I need often to find whether a date value falls within a date range. For example, in a chart expression.&lt;/P&gt;&lt;P&gt;I have tried to find a function for this eg. &lt;EM&gt;InDateRange(date_value,from_date, to_date)&lt;/EM&gt; but cannot find one.&lt;/P&gt;&lt;P&gt;Of course, I can use nested IFs but was hoping there is a function to make it neater.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 08:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390987#M145810</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2012-11-01T08:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Function for values in a date range ?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390988#M145811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Intervalmatch may be you're looking for. But it's only available in the load script. Otherwise you're indeed limited to and if statement like if(Mydate &amp;gt;= StartDate and Mydate &amp;lt;= EndDate, 1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 08:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390988#M145811</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-01T08:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Function for values in a date range ?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390989#M145812</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;Thanks for your very fast response !&lt;/P&gt;&lt;P&gt;My understanding is that IntervalMatch is a scripting function (to filter the data loaded).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load 3 year's worth of data (say) and let the user enter start and end dates on the information they wish to view in a chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 08:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390989#M145812</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2012-11-01T08:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function for values in a date range ?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390990#M145813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you have to use the set analysis expression for the date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for exm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: #636363;"&gt;sum({$&amp;lt;Date = {"&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)"}&amp;gt;} SalesValue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here vstartdate and venddate are variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gives the values for this range only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 09:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390990#M145813</guid>
      <dc:creator />
      <dc:date>2012-11-01T09:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Function for values in a date range ?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390991#M145814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Intervalmatch is a scripting function, but not to filter out data, but to match it with intervals. Often this is used to match a date with a period. But it can also be used for other intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a qvw file with an example using input boxes to enable users to select an interval and show the relevant data. I hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 09:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390991#M145814</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-01T09:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Function for values in a date range ?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390992#M145815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 09:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390992#M145815</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2012-11-01T09:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Function for values in a date range ?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390993#M145816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - that's helpful, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 09:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-for-values-in-a-date-range/m-p/390993#M145816</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2012-11-01T09:57:33Z</dc:date>
    </item>
  </channel>
</rss>

