<?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: Sum between two dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173512#M381199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide some sample data? And/or provide a better explanation of your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2016 15:38:58 GMT</pubDate>
    <dc:creator>miguelbraga</dc:creator>
    <dc:date>2016-09-09T15:38:58Z</dc:date>
    <item>
      <title>Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173510#M381197</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I´m having some problems trying to have the value between two different time periods selected by the user. &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;For example if I choose a first periode : (17/02/2013 and date 17/02/2013) and a second periode : (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; (17/03/2013 and date 17/04/2013) &lt;/SPAN&gt;) i will have the value of sales between these two periodes&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;How to fix it please &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 09:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173510#M381197</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2016-09-09T09:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173511#M381198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create two variables for the start Input Date and End Input date and then use the &lt;/P&gt;&lt;P&gt;Sum(({&amp;lt;Date ={"&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)"}&amp;gt;}, Measure)&amp;nbsp; in your calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173511#M381198</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2016-09-09T15:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173512#M381199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide some sample data? And/or provide a better explanation of your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173512#M381199</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-09-09T15:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173513#M381200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you have one calendar or Date field. If I am right than your database should look like table object below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="136980" alt="Screenshot_3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136980_Screenshot_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And your expression would be:&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14734361978351343" jivemacro_uid="_14734361978351343"&gt;
&lt;P&gt;=sum(&lt;/P&gt;
&lt;P&gt;{$&amp;lt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date = {"&amp;gt;=$(=min(Date))&amp;lt;=$(=max(Date))"}&lt;/P&gt;
&lt;P&gt;&amp;gt;}&lt;/P&gt;
&lt;P&gt;Value)&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;Check the application I've attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 15:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173513#M381200</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-09-09T15:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173514#M381201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the attachment..Hope this helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 16:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173514#M381201</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2016-09-09T16:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173515#M381202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 16:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173515#M381202</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-09-09T16:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173516#M381203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;Date ={"&amp;gt;=$(vfirstStartDate)&amp;lt;=$(vfirstEndDate)"}&amp;gt;}, sales)&amp;nbsp; +&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(({&amp;lt;Date ={"&amp;gt;=$(vsecondStartDate)&amp;lt;=$(vsecondEndDate)"}&amp;gt;},sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 19:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1173516#M381203</guid>
      <dc:creator />
      <dc:date>2016-09-09T19:27:00Z</dc:date>
    </item>
  </channel>
</rss>

