<?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 Value amount between dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Value-amount-between-dates/m-p/562439#M209917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;I want to get the sum of all the sales made between two dates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;this is what i got:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;=sum({&amp;lt;Date ={"&amp;gt;=01/11/2012 &amp;lt;=01/02/2013"}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is just the value that has this date value: '01/02/2013' if i take out the '=' it returns 0. For what i understood, it isn't looking for the other values, or something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it worked this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date ={"&amp;gt;=01/11/2012 &amp;lt;=01/02/2013"},month=,year=&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gave me the sum, but there are two details here, first that in my proyect i am not using dates like this "01/11/2012" but as a field.A field for the start-date and a field for the end-date. and second that if i use the month=,year= those fields wouldn't work....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am out of ideas do you have any? thank you.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/johnw" id="jive-222626862302758759188"&gt;John Witherspoon&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 19:02:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-10T19:02:41Z</dc:date>
    <item>
      <title>Value amount between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Value-amount-between-dates/m-p/562439#M209917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;I want to get the sum of all the sales made between two dates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;this is what i got:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;=sum({&amp;lt;Date ={"&amp;gt;=01/11/2012 &amp;lt;=01/02/2013"}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is just the value that has this date value: '01/02/2013' if i take out the '=' it returns 0. For what i understood, it isn't looking for the other values, or something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it worked this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date ={"&amp;gt;=01/11/2012 &amp;lt;=01/02/2013"},month=,year=&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gave me the sum, but there are two details here, first that in my proyect i am not using dates like this "01/11/2012" but as a field.A field for the start-date and a field for the end-date. and second that if i use the month=,year= those fields wouldn't work....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am out of ideas do you have any? thank you.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/johnw" id="jive-222626862302758759188"&gt;John Witherspoon&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 19:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-amount-between-dates/m-p/562439#M209917</guid>
      <dc:creator />
      <dc:date>2013-07-10T19:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Value amount between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Value-amount-between-dates/m-p/562440#M209918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did it, missed the $&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date ={"&amp;gt;=$(=startdate) &amp;lt;=$(=enddate)"},month=,year=&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now have another problem, because that expression is perfect for my selected year and month. &lt;/P&gt;&lt;P&gt;But how could by making that selection substract one month from each startdate and enddate, and of course if it is 01/01/2013 and i substract one month it will be 01/12/2012. in the same expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 19:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-amount-between-dates/m-p/562440#M209918</guid>
      <dc:creator />
      <dc:date>2013-07-10T19:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Value amount between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Value-amount-between-dates/m-p/562441#M209919</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;Have you tried with AddMonth(date, 1) function&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;=sum({&amp;lt;Date ={"&amp;gt;=$(=AddMonth($(=startdate),-1)) &amp;lt;=$(=AddMonth($(=enddate),-1))"},month=,year=&amp;gt;} Value)&lt;/P&gt;&lt;P&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>Wed, 10 Jul 2013 23:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-amount-between-dates/m-p/562441#M209919</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-07-10T23:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Value amount between dates</title>
      <link>https://community.qlik.com/t5/QlikView/Value-amount-between-dates/m-p/562442#M209920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was it. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 13:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-amount-between-dates/m-p/562442#M209920</guid>
      <dc:creator />
      <dc:date>2013-07-11T13:02:04Z</dc:date>
    </item>
  </channel>
</rss>

