<?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: How to calculate the total value within certain date range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-total-value-within-certain-date-range/m-p/1177604#M913560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not quite clear what you are want to do but if you simple used week as dimension (should be the same like your weekstart and weekend - if you need these representation you could concat both values - at best generated within a master-calendar, see also: &lt;A href="https://community.qlik.com/docs/DOC-8843"&gt;How to use - Master-Calendar and Date-Values&lt;/A&gt;) and a simply expression like: sum(Amount) it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2016 09:16:39 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-06-01T09:16:39Z</dc:date>
    <item>
      <title>How to calculate the total value within certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-total-value-within-certain-date-range/m-p/1177603#M913559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;SelectedDate&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;WeekStartDayofSelectedDate&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;WeekEndDayofSelectedDate&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/20/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/18/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/24/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/21/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/18/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/24/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;1/22/2016&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;1/18/2016&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;1/24/2016&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/26/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/25/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/31/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/27/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/25/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1/31/2016&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;220&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the total value within the date range of above selected date, but when i use both of following forluma, none of them are working, please help on this question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expecting result:&lt;/P&gt;&lt;P&gt;Total amount of week 1/18/2016~1/24/2016 = 100+200+50=350&lt;/P&gt;&lt;P&gt;Total amount of week 1/25/2016~1/31/2016 = 150+220=370&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My forluma:&lt;/P&gt;&lt;P&gt;=If (SelectedDate&amp;gt;=WeekstartDayofSelectedDate and SelectedDate&amp;lt;=WeekEndDayofSelectedDate, sum(Amount))&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;SelectedDate&amp;gt;='WeekstartDayofSelectedDate', SelectedDate&amp;lt;=WeekEndDayofSelectedDate&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jessica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-total-value-within-certain-date-range/m-p/1177603#M913559</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the total value within certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-total-value-within-certain-date-range/m-p/1177604#M913560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not quite clear what you are want to do but if you simple used week as dimension (should be the same like your weekstart and weekend - if you need these representation you could concat both values - at best generated within a master-calendar, see also: &lt;A href="https://community.qlik.com/docs/DOC-8843"&gt;How to use - Master-Calendar and Date-Values&lt;/A&gt;) and a simply expression like: sum(Amount) it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 09:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-total-value-within-certain-date-range/m-p/1177604#M913560</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-01T09:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the total value within certain date range</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-total-value-within-certain-date-range/m-p/1177605#M913561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/126490_Untitled.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 10:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-total-value-within-certain-date-range/m-p/1177605#M913561</guid>
      <dc:creator />
      <dc:date>2016-06-01T10:01:07Z</dc:date>
    </item>
  </channel>
</rss>

