<?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 Sum of date range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289739#M1204129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel.&lt;/P&gt;&lt;P&gt;Just one more question on this:&lt;/P&gt;&lt;P&gt;If I needed to replace the Dimension SOTD_QTY_UNITS_ORDERED with the variable " _exp_CASE" how would I write this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Nov 2010 11:58:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-23T11:58:30Z</dc:date>
    <item>
      <title>Sum of date range</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289737#M1204127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What I am trying to acheive is to sum up the SOTD_QTY_UNITS_ORDERED for the last 3 weeks.&lt;/P&gt;&lt;P&gt;Using these forums I have got to the point below however the formula produces 0 as the value:&lt;/P&gt;&lt;P&gt;Sum( {$&amp;lt; InvoiceDate = {"&amp;lt;$(=date(today(1), 0)&amp;gt;=$(=date(today(1)-21)"}&amp;gt;} sum(SOTD_QTY_UNITS_ORDERED))&lt;/P&gt;&lt;P&gt;Is there something wrong with the formula?&lt;/P&gt;&lt;P&gt;Thanks, Gareth&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;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 11:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289737#M1204127</guid>
      <dc:creator />
      <dc:date>2010-11-23T11:05:36Z</dc:date>
    </item>
    <item>
      <title>Sum of date range</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289738#M1204128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Garethj1,&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=sum({$&amp;lt;InvoiceDate={'&amp;gt;=$(=date(Today(1)-21,'DD/MM/YYYY')) &amp;lt;$(=date(today(1),'DD/MM/YYYY')) '}&amp;gt;} SOTD_QTY_UNITS_ORDERED)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 11:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289738#M1204128</guid>
      <dc:creator />
      <dc:date>2010-11-23T11:34:29Z</dc:date>
    </item>
    <item>
      <title>Sum of date range</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289739#M1204129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel.&lt;/P&gt;&lt;P&gt;Just one more question on this:&lt;/P&gt;&lt;P&gt;If I needed to replace the Dimension SOTD_QTY_UNITS_ORDERED with the variable " _exp_CASE" how would I write this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 11:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289739#M1204129</guid>
      <dc:creator />
      <dc:date>2010-11-23T11:58:30Z</dc:date>
    </item>
    <item>
      <title>Sum of date range</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289740#M1204130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't know what say about this, I would need to know what is the expression into the variable.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 12:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289740#M1204130</guid>
      <dc:creator />
      <dc:date>2010-11-23T12:25:19Z</dc:date>
    </item>
    <item>
      <title>Sum of date range</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289741#M1204131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah right the penny dropped - Cracked it.&lt;/P&gt;&lt;P&gt;Thanks for all your help, Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 12:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-date-range/m-p/289741#M1204131</guid>
      <dc:creator />
      <dc:date>2010-11-23T12:45:51Z</dc:date>
    </item>
  </channel>
</rss>

