<?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 can I sum all records by a specific date entered by the user filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-can-I-sum-all-records-by-a-specific-date-entered-by-the-user/m-p/1636734#M47435</link>
    <description>&lt;P&gt;I think you are misunderstanding the solution you linked. This solution is dynamic to what date the user selects, there is no predefined date value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this formula:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum({$&amp;lt;Date= {"&amp;lt;=$(=max(Date))"}&amp;gt;} Amount)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Date is a field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That means the max date value possible in the field Date will be the limit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say you have these date values:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/01/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/09/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/17/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/31/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;02/01/2019&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With no selections the above expression will evaluate to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum({$&amp;lt;Date= {"&amp;lt;=02/01/2019"}&amp;gt;} Amount)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would sum values 01/01/2019 - 02/02/2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If a user selects '01/31/2019' in the filter, the expression would then evaluate to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum({$&amp;lt;Date= {"&amp;lt;=01/31/2019"}&amp;gt;} Amount)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would sum values 01/01/2019 - 01/31/2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2019 13:46:32 GMT</pubDate>
    <dc:creator>treysmithdev</dc:creator>
    <dc:date>2019-10-17T13:46:32Z</dc:date>
    <item>
      <title>How can I sum all records by a specific date entered by the user filter</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-sum-all-records-by-a-specific-date-entered-by-the-user/m-p/1636167#M47395</link>
      <description>&lt;P&gt;Good morning everyone, all right?&lt;BR /&gt;As stated in the subject, I need to sum all records until a specific date. I found a way to do this at this link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Creating-Analytics/How-can-i-sum-all-records-until-a-specific-date/m-p/375554#M13483" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Creating-Analytics/How-can-i-sum-all-records-until-a-specific-date/m-p/375554#M13483&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But there is a detail, the date cannot be predefined, it needs to be informed by the user through the filter.&lt;BR /&gt;When the date is entered, it must be used as the maximum date; otherwise, The most recent date must be taken into consideration. How to proceed?&lt;BR /&gt;Thank you very much in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 14:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-sum-all-records-by-a-specific-date-entered-by-the-user/m-p/1636167#M47395</guid>
      <dc:creator>Sidimar</dc:creator>
      <dc:date>2019-10-16T14:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I sum all records by a specific date entered by the user filter</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-sum-all-records-by-a-specific-date-entered-by-the-user/m-p/1636734#M47435</link>
      <description>&lt;P&gt;I think you are misunderstanding the solution you linked. This solution is dynamic to what date the user selects, there is no predefined date value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this formula:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum({$&amp;lt;Date= {"&amp;lt;=$(=max(Date))"}&amp;gt;} Amount)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Date is a field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That means the max date value possible in the field Date will be the limit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say you have these date values:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/01/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/09/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/17/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/31/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;02/01/2019&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With no selections the above expression will evaluate to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum({$&amp;lt;Date= {"&amp;lt;=02/01/2019"}&amp;gt;} Amount)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would sum values 01/01/2019 - 02/02/2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If a user selects '01/31/2019' in the filter, the expression would then evaluate to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum({$&amp;lt;Date= {"&amp;lt;=01/31/2019"}&amp;gt;} Amount)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would sum values 01/01/2019 - 01/31/2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 13:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-sum-all-records-by-a-specific-date-entered-by-the-user/m-p/1636734#M47435</guid>
      <dc:creator>treysmithdev</dc:creator>
      <dc:date>2019-10-17T13:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I sum all records by a specific date entered by the user filter</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-sum-all-records-by-a-specific-date-entered-by-the-user/m-p/1636883#M47454</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you very much, I really got it wrong when I implemented that it wasn't working. Now yes, thank you very much;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 18:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-sum-all-records-by-a-specific-date-entered-by-the-user/m-p/1636883#M47454</guid>
      <dc:creator>Sidimar</dc:creator>
      <dc:date>2019-10-17T18:17:16Z</dc:date>
    </item>
  </channel>
</rss>

