<?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/350168#M129725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do you do it if u want the date to be dynamic. for example you want the data from today to 50 days prior. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u check tomorrow it should show values 50 days prior to the respective day. &lt;/P&gt;&lt;P&gt;can u pls help me out on this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jan 2017 17:45:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-03T17:45:49Z</dc:date>
    <item>
      <title>Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350161#M129718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me with some syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two fields named &lt;SPAN style="color: #800000;"&gt;StartDate &lt;/SPAN&gt;and &lt;SPAN style="color: #800000;"&gt;EndDate &lt;SPAN style="color: #333333;"&gt;and I need to sum the total amount of Value that falls between them.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;I'm getting a little stuck with the synta, any help is greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 11:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350161#M129718</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-03-13T11:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350162#M129719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correcting﻿&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;StartDate = {“&amp;gt;10/02/2012”}, EndDate = {“&amp;lt;10/15/2012”} &amp;gt;} Sales&lt;SPAN class="Bold"&gt; )&lt;/SPAN&gt;&lt;SPAN style="margin-left: 40px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 11:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350162#M129719</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-03-13T11:24:44Z</dc:date>
    </item>
    <item>
      <title>Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350163#M129720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that...I'm assuming I can use the min and max functions instead of stating an actual date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 11:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350163#M129720</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-03-13T11:29:03Z</dc:date>
    </item>
    <item>
      <title>Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350164#M129721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course.You can adapt it to your situation. If you have any further problemas, post your app. so we work on it. Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 11:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350164#M129721</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-03-13T11:32:00Z</dc:date>
    </item>
    <item>
      <title>Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350165#M129722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try with this if your comparing to another field based on the start and end date fields.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-size: 12px;"&gt;Sum(&lt;/SPAN&gt; {$&amp;lt;DateField = {“&amp;gt;=$(=Min(StartDate))&amp;lt;=$(=Max(EndDate))”} &amp;gt;} Sales&lt;SPAN class="Bold" style="font-size: 12px;"&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comparing within the same fields means&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-size: 12px;"&gt;Sum(&lt;/SPAN&gt; {$&amp;lt;StartDate= {“&amp;gt;=$(=Min(StartDate))”}, EndDate= {“&amp;lt;=$(=Max(EndDate))”} &amp;gt;} Sales&lt;SPAN class="Bold" style="font-size: 12px;"&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 11:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350165#M129722</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-13T11:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350166#M129723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I have so far and it seems to be working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...looking at it actually it seems to be pretty much exactly the same as ﻿Celambarasan's above!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;ExtractDate&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=$(=Min(CampaignStartDate))&amp;lt;=$(Max(CampaignEndDate))"&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;﻿﻿﻿﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 13:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350166#M129723</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-03-13T13:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350167#M129724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If StartDate and EndDate field also linked with the table then exclude the selection of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="font-size: 12px; color: #800000;"&gt;ExtractDate&lt;/SPAN&gt;={&lt;SPAN style="font-size: 12px; color: #800000;"&gt;"&amp;gt;=$(=Min(CampaignStartDate))&amp;lt;=$(=Max(CampaignEndDate))"&lt;/SPAN&gt;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CampaignStartDate=,CampaignEndDate=&amp;gt;}&lt;SPAN style="font-size: 12px; color: #800000;"&gt;Value&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 13:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350167#M129724</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-13T13:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350168#M129725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do you do it if u want the date to be dynamic. for example you want the data from today to 50 days prior. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u check tomorrow it should show values 50 days prior to the respective day. &lt;/P&gt;&lt;P&gt;can u pls help me out on this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/350168#M129725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-03T17:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sum between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1839701#M1215187</link>
      <description>&lt;P&gt;Hi I am using the below equation&lt;/P&gt;&lt;P&gt;=sum({$ &amp;lt;[Month Date.autoCalendar.Date]={"&amp;gt;=1/1/2021&amp;lt;=31/7/2021"}&amp;gt;} [Qty])&lt;/P&gt;&lt;P&gt;It only returns values for&amp;nbsp;31/7/2021&lt;/P&gt;&lt;P&gt;Any advice&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 11:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-between-two-dates/m-p/1839701#M1215187</guid>
      <dc:creator>Ahmed_Hisham</dc:creator>
      <dc:date>2021-09-28T11:52:25Z</dc:date>
    </item>
  </channel>
</rss>

