<?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: Get data between dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182888#M462388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thirumala&amp;nbsp; &lt;/P&gt;&lt;P&gt;thanks for your answer&lt;/P&gt;&lt;P&gt;I think there is one problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM FOR DATE 1 is Ok&lt;/P&gt;&lt;P&gt;SUM FOR DATE 2 if Ok &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT SUM BETWEEN DATES&amp;nbsp; IS WRONG&amp;nbsp; I THINK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gidon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 05:37:40 GMT</pubDate>
    <dc:creator>gidon500</dc:creator>
    <dc:date>2016-09-28T05:37:40Z</dc:date>
    <item>
      <title>Get data between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182886#M462386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;I need your help to solve the customer request .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enclosed is a file with data of :&lt;/P&gt;&lt;P&gt;DOCDATE&amp;nbsp; date of transaction&lt;/P&gt;&lt;P&gt;QUANT qty&lt;/P&gt;&lt;P&gt;WARHS&amp;nbsp; no&amp;nbsp;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;TYPE of transaction&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;and more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create SUM of QUANT&amp;nbsp; ( per WARHS&amp;nbsp; from today to&lt;STRONG style="font-size: 12pt;"&gt;&amp;nbsp; date1&lt;/STRONG&gt; - that will be given as variable&amp;nbsp;&amp;nbsp; - for ex 01/09/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create SUM&amp;nbsp; of QUANT&amp;nbsp; ( per WARHS&amp;nbsp; from today to&lt;STRONG style="font-size: 12pt;"&gt;&amp;nbsp; date2&lt;/STRONG&gt; - that will be given as variable&amp;nbsp; - for ex 15/09/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and sum of QUANT between date1 to date2&amp;nbsp; where TYPE = 'M'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help&lt;/P&gt;&lt;P&gt;have a nice day .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gidon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 04:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182886#M462386</guid>
      <dc:creator>gidon500</dc:creator>
      <dc:date>2016-09-27T04:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get data between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182887#M462387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was not clear on the out put that you need but you can take a look and the below and see if this is what you want.. If not can you please share your expected out put...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DataBetweenDates_2.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/138768_DataBetweenDates_2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or may be this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="138757" alt="DataBetweenDates.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138757_DataBetweenDates.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 04:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182887#M462387</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-09-27T04:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Get data between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182888#M462388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thirumala&amp;nbsp; &lt;/P&gt;&lt;P&gt;thanks for your answer&lt;/P&gt;&lt;P&gt;I think there is one problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM FOR DATE 1 is Ok&lt;/P&gt;&lt;P&gt;SUM FOR DATE 2 if Ok &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT SUM BETWEEN DATES&amp;nbsp; IS WRONG&amp;nbsp; I THINK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gidon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 05:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182888#M462388</guid>
      <dc:creator>gidon500</dc:creator>
      <dc:date>2016-09-28T05:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get data between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182889#M462389</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;P&gt;Gidon David wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi Thirumala &lt;/P&gt;
&lt;P&gt;thanks for your answer&lt;/P&gt;
&lt;P&gt;I think there is one problem&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;SUM FOR DATE 1 is Ok&lt;/P&gt;
&lt;P&gt;SUM FOR DATE 2 if Ok&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;BUT SUM BETWEEN DATES&amp;nbsp; IS WRONG&amp;nbsp; I THINK&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;for your help&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;gidon&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then try this for diff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Interval(Sum([DATE 1]) - &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum([DATE 2])) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 05:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182889#M462389</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-28T05:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get data between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182890#M462390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A small correction would be required in the expression. Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DOCDATE={'&amp;gt;=$(=date(vdate1)) &amp;lt;=$(=date(vdate2))'},TYPE={'M'}&amp;gt;} QUANT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 05:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182890#M462390</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-09-28T05:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get data between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182891#M462391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) sum({&amp;lt;DateField={'&amp;gt;=$(=Date(Date1))&amp;lt;=$(date(today()))'}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;QUANT&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;2) sum({&amp;lt;DateField={'&amp;gt;=$(=Date(Date2))&amp;lt;=$(date(today()))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;QUANT&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;3) &lt;SPAN style="font-size: 13.3333330154419px;"&gt;1) sum({&amp;lt;Type={'M'},DateField={'&amp;gt;=$(=Date(Date1))&amp;lt;=$(date(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date2&lt;/SPAN&gt;))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;QUANT&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;make sure format of all date fields value should be same.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 05:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182891#M462391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T05:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get data between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182892#M462392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Please Check it below attached file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 05:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182892#M462392</guid>
      <dc:creator>maniram23</dc:creator>
      <dc:date>2016-09-28T05:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get data between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182893#M462393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try the below expression as tresesco suggested for the between dates:&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;sum({&amp;lt;DOCDATE={'&amp;gt;=$(=date(vdate1)) &amp;lt;=$(=date(vdate2))'},TYPE={'M'}&amp;gt;} QUANT)&lt;/SPAN&gt;&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;If that is not correct, can you share the output....&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 06:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182893#M462393</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-09-28T06:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get data between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182894#M462394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;thanks for the help&lt;/P&gt;&lt;P&gt;it is correct answer , that is the way to do it&lt;/P&gt;&lt;P&gt;gidon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 06:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-dates/m-p/1182894#M462394</guid>
      <dc:creator>gidon500</dc:creator>
      <dc:date>2016-09-28T06:35:03Z</dc:date>
    </item>
  </channel>
</rss>

