<?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 Counting between two dates not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Counting-between-two-dates-not-working/m-p/1871131#M71897</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For some reason when I am trying to counts all incidents the occurred between two dates it always misses the dates that have the week ending the max IR_WEEKEND, what is wrong with my code?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;if(&lt;/P&gt;
&lt;P&gt;Sum(&lt;BR /&gt;Aggr(Count({$&amp;lt;&lt;BR /&gt;IR_WeekEnd={"&amp;gt;=$(=WeekEND(max(IR_WeekEnd),-51))&amp;lt;=$(=WeekEND(max(IR_WeekEnd)))"}&lt;BR /&gt;&amp;gt;}Incident_ID)&lt;BR /&gt;,IR_WeekEnd))&lt;BR /&gt;&amp;gt;0&lt;BR /&gt;,&lt;BR /&gt;Count({$&amp;lt;&lt;BR /&gt;IR_WeekEnd={"&amp;gt;=$(=WeekEND(max(IR_WeekEnd),-51))&amp;lt;=$(=WeekEND(max(IR_WeekEnd)))"}&lt;BR /&gt;&amp;gt;}Incident_ID))&lt;/P&gt;</description>
    <pubDate>Tue, 14 Dec 2021 19:16:26 GMT</pubDate>
    <dc:creator>alex-wb</dc:creator>
    <dc:date>2021-12-14T19:16:26Z</dc:date>
    <item>
      <title>Counting between two dates not working</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-between-two-dates-not-working/m-p/1871131#M71897</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For some reason when I am trying to counts all incidents the occurred between two dates it always misses the dates that have the week ending the max IR_WEEKEND, what is wrong with my code?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;if(&lt;/P&gt;
&lt;P&gt;Sum(&lt;BR /&gt;Aggr(Count({$&amp;lt;&lt;BR /&gt;IR_WeekEnd={"&amp;gt;=$(=WeekEND(max(IR_WeekEnd),-51))&amp;lt;=$(=WeekEND(max(IR_WeekEnd)))"}&lt;BR /&gt;&amp;gt;}Incident_ID)&lt;BR /&gt;,IR_WeekEnd))&lt;BR /&gt;&amp;gt;0&lt;BR /&gt;,&lt;BR /&gt;Count({$&amp;lt;&lt;BR /&gt;IR_WeekEnd={"&amp;gt;=$(=WeekEND(max(IR_WeekEnd),-51))&amp;lt;=$(=WeekEND(max(IR_WeekEnd)))"}&lt;BR /&gt;&amp;gt;}Incident_ID))&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 19:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-between-two-dates-not-working/m-p/1871131#M71897</guid>
      <dc:creator>alex-wb</dc:creator>
      <dc:date>2021-12-14T19:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Counting between two dates not working</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-between-two-dates-not-working/m-p/1871148#M71898</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/135685"&gt;@alex-wb&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please modify your expression as below.&lt;/P&gt;
&lt;P&gt;if(&lt;/P&gt;
&lt;P&gt;Sum(&lt;BR /&gt;Aggr(Count({$&amp;lt;&lt;BR /&gt;IR_WeekEnd={"='&amp;gt;=' &amp;amp; $(=WeekEND(max(IR_WeekEnd),-51))&amp;amp; '&amp;lt;=' &amp;amp; $(=WeekEND(max(IR_WeekEnd)))"}&lt;BR /&gt;&amp;gt;}Incident_ID)&lt;BR /&gt;,IR_WeekEnd))&lt;BR /&gt;&amp;gt;0&lt;BR /&gt;,&lt;BR /&gt;Count({$&amp;lt;&lt;BR /&gt;IR_WeekEnd={"='&amp;gt;=' &amp;amp; $(=WeekEND(max(IR_WeekEnd),-51))'&amp;lt;='$(=WeekEND(max(IR_WeekEnd)))"}&lt;BR /&gt;&amp;gt;}Incident_ID))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 19:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-between-two-dates-not-working/m-p/1871148#M71898</guid>
      <dc:creator>abhijitnalekar</dc:creator>
      <dc:date>2021-12-14T19:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Counting between two dates not working</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-between-two-dates-not-working/m-p/1871333#M71908</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49799"&gt;@abhijitnalekar&lt;/a&gt;&amp;nbsp; thanks for the response, unfortunately that doesn't work. It doesn't return anything for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 09:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-between-two-dates-not-working/m-p/1871333#M71908</guid>
      <dc:creator>alex-wb</dc:creator>
      <dc:date>2021-12-15T09:34:50Z</dc:date>
    </item>
  </channel>
</rss>

