<?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 a value between two dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-of-a-value-between-two-dates/m-p/1883017#M72701</link>
    <description>&lt;P&gt;I currently have two separate tables joined in Qlik.&amp;nbsp; One has a report date with all the KPI's each day and the second table has a date of completion where an issue was addressed.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; am trying to measure&amp;nbsp; the sum of a value 30 days before and 30 days after from the date of completion by using the data from the report date table.&lt;/P&gt;
&lt;P&gt;I have two variables set up currently: v30DaysAfter = (Date of Completion+30) and v30DaysBefore = (Date of Completion-30).&lt;/P&gt;
&lt;P&gt;I scrubbed through these forums to find similar issues and have a formula that is close to doing the job, but not quite working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum({$&amp;lt;DateOfCompletion = {"&amp;gt;=$(DateOfCompletion)&amp;lt;=$(v30DaysAfter)"}&amp;gt;}VALUE)&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;sum({$&amp;lt;DateOfCompletion = {"&amp;gt;=$(v30DaysBefore)&amp;lt;=$(DateofCompletion)"}&amp;gt;}VALUE)&lt;/P&gt;
&lt;P&gt;When I run these two calculations, I am getting 0.00 for the sum of value when I'm just wanting to get the sum of value for 30 days before and then 30 days after.&lt;/P&gt;
&lt;P&gt;Please let me know if I can provide to anymore information.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jan 2022 19:30:16 GMT</pubDate>
    <dc:creator>whijo32</dc:creator>
    <dc:date>2022-01-19T19:30:16Z</dc:date>
    <item>
      <title>Sum of a value between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-a-value-between-two-dates/m-p/1883017#M72701</link>
      <description>&lt;P&gt;I currently have two separate tables joined in Qlik.&amp;nbsp; One has a report date with all the KPI's each day and the second table has a date of completion where an issue was addressed.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; am trying to measure&amp;nbsp; the sum of a value 30 days before and 30 days after from the date of completion by using the data from the report date table.&lt;/P&gt;
&lt;P&gt;I have two variables set up currently: v30DaysAfter = (Date of Completion+30) and v30DaysBefore = (Date of Completion-30).&lt;/P&gt;
&lt;P&gt;I scrubbed through these forums to find similar issues and have a formula that is close to doing the job, but not quite working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum({$&amp;lt;DateOfCompletion = {"&amp;gt;=$(DateOfCompletion)&amp;lt;=$(v30DaysAfter)"}&amp;gt;}VALUE)&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;sum({$&amp;lt;DateOfCompletion = {"&amp;gt;=$(v30DaysBefore)&amp;lt;=$(DateofCompletion)"}&amp;gt;}VALUE)&lt;/P&gt;
&lt;P&gt;When I run these two calculations, I am getting 0.00 for the sum of value when I'm just wanting to get the sum of value for 30 days before and then 30 days after.&lt;/P&gt;
&lt;P&gt;Please let me know if I can provide to anymore information.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 19:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-a-value-between-two-dates/m-p/1883017#M72701</guid>
      <dc:creator>whijo32</dc:creator>
      <dc:date>2022-01-19T19:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of a value between two dates</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-a-value-between-two-dates/m-p/1883228#M72715</link>
      <description>&lt;P&gt;&lt;SPAN&gt;sum({$&amp;lt;DateOfCompletion = {"&amp;gt;=$(DateOfCompletion)&amp;lt;=$(v30DaysAfter)"}&amp;gt; + &amp;lt;DateOfCompletion = {"&amp;gt;=$(v30DaysBefore)&amp;lt;=$(DateofCompletion)"}&amp;gt; } VALUE)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Refer this&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/quot-OR-quot-Condition-in-Set-Analysis/td-p/695709" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/QlikView-App-Dev/quot-OR-quot-Condition-in-Set-Analysis/td-p/695709&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/AND-OR-combination-condition-in-set-analysis/td-p/786171" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/AND-OR-combination-condition-in-set-analysis/td-p/786171&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Vikas&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 09:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-a-value-between-two-dates/m-p/1883228#M72715</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2022-01-20T09:44:32Z</dc:date>
    </item>
  </channel>
</rss>

