<?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: Take the sum between two Dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Take-the-sum-between-two-Dates/m-p/1529816#M44004</link>
    <description>&lt;P&gt;Depending on how your date is defined, you might need to add Date() format statements:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;StartDate= {"&amp;lt;=$(=&lt;STRONG&gt;Date&lt;/STRONG&gt;(Min(OrderDate))) &amp;gt;=$(=&lt;STRONG&gt;Date&lt;/STRONG&gt;(Max(DaysBack30)))"}&amp;gt;} [Monthly Sales In Volume])&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jan 2019 06:02:55 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-01-14T06:02:55Z</dc:date>
    <item>
      <title>Take the sum between two Dates</title>
      <link>https://community.qlik.com/t5/App-Development/Take-the-sum-between-two-Dates/m-p/1529809#M44003</link>
      <description>&lt;P&gt;I have dataset which contains OrderDate wise Sales. Requirement is to show sum of sales from OrderDate to last 30 Days. I tried mutiple solutions provided on Portal but no luck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried expression like:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;StartDate= {"&amp;lt;=$(=min(OrderDate))&amp;gt;=$(=max(DaysBack30))"}&amp;gt; } [Monthly Sales In Volume])&lt;/P&gt;&lt;P&gt;using variables:&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;StartDate = {"&amp;gt;= '$(vStart)'&amp;lt;='$(vEnd)'}&amp;gt;} [Monthly Sales In Volume])&lt;/P&gt;&lt;P&gt;I tried by creating variables&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample datset is given below:&lt;/P&gt;&lt;P&gt;Sales is OrderDate wise sales. If user clicks on 01/01/2018 then sales should be displayed between 01/01/2018 to 01/12/2017 for that particular product.&lt;/P&gt;&lt;P&gt;OrderDate&amp;nbsp; &amp;nbsp; &amp;nbsp; ProductID&amp;nbsp; &amp;nbsp; &lt;SPAN&gt;DaysBack30&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;Sales&lt;/P&gt;&lt;P&gt;01/01/2018&amp;nbsp; &amp;nbsp;10000018&amp;nbsp; &amp;nbsp;01/12/2017&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 550&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;01/01/2018&amp;nbsp; &amp;nbsp;10000017&amp;nbsp; &amp;nbsp;01/12/2017&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 350&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;12/01/2018&amp;nbsp; &amp;nbsp;10000018&amp;nbsp; &amp;nbsp;12/12/2017&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;13/01/2018&amp;nbsp; &amp;nbsp;10000019&amp;nbsp; &amp;nbsp;13/12/2017&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 550&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Take-the-sum-between-two-Dates/m-p/1529809#M44003</guid>
      <dc:creator>rahul16051990</dc:creator>
      <dc:date>2024-11-16T06:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Take the sum between two Dates</title>
      <link>https://community.qlik.com/t5/App-Development/Take-the-sum-between-two-Dates/m-p/1529816#M44004</link>
      <description>&lt;P&gt;Depending on how your date is defined, you might need to add Date() format statements:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;StartDate= {"&amp;lt;=$(=&lt;STRONG&gt;Date&lt;/STRONG&gt;(Min(OrderDate))) &amp;gt;=$(=&lt;STRONG&gt;Date&lt;/STRONG&gt;(Max(DaysBack30)))"}&amp;gt;} [Monthly Sales In Volume])&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 06:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Take-the-sum-between-two-Dates/m-p/1529816#M44004</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-01-14T06:02:55Z</dc:date>
    </item>
  </channel>
</rss>

