<?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 average of Count (distinct IncidentID) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/average-of-Count-distinct-IncidentID/m-p/2420973#M95672</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am calculating the incidents count for last 6 days and need average of that count. Using below mentioned expression for the same but not working...&lt;/P&gt;
&lt;P&gt;Avg({&amp;lt;Incident_Date={"&amp;gt;=$(=Date(Today()-8))&amp;lt;=$(=Date(Today()-2))"}&amp;gt;} Aggr(Count(DISTINCT IncidentID), IncidentID))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 05:57:46 GMT</pubDate>
    <dc:creator>Raju_6952</dc:creator>
    <dc:date>2024-02-20T05:57:46Z</dc:date>
    <item>
      <title>average of Count (distinct IncidentID)</title>
      <link>https://community.qlik.com/t5/App-Development/average-of-Count-distinct-IncidentID/m-p/2420973#M95672</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am calculating the incidents count for last 6 days and need average of that count. Using below mentioned expression for the same but not working...&lt;/P&gt;
&lt;P&gt;Avg({&amp;lt;Incident_Date={"&amp;gt;=$(=Date(Today()-8))&amp;lt;=$(=Date(Today()-2))"}&amp;gt;} Aggr(Count(DISTINCT IncidentID), IncidentID))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 05:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-of-Count-distinct-IncidentID/m-p/2420973#M95672</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2024-02-20T05:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: average of Count (distinct IncidentID)</title>
      <link>https://community.qlik.com/t5/App-Development/average-of-Count-distinct-IncidentID/m-p/2420986#M95675</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;=Avg(Aggr(Count(DISTINCT {&amp;lt;Incident_Date={"&amp;gt;=$(=Date(Today(1)-6))&amp;lt;=$(=Date(Today(1)))"}&amp;gt;}IncidentID), IncidentID))&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 06:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-of-Count-distinct-IncidentID/m-p/2420986#M95675</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2024-02-20T06:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: average of Count (distinct IncidentID)</title>
      <link>https://community.qlik.com/t5/App-Development/average-of-Count-distinct-IncidentID/m-p/2420992#M95676</link>
      <description>&lt;P&gt;I would rather do this, Today() is not accurate.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Avg(Aggr(Count(DISTINCT {&amp;lt;Incident_Date={"&amp;gt;=$(=Date(Max(Incident_Date)-6))&amp;lt;=$(=Date(Max(Incident_Date)))"}&amp;gt;}IncidentID), IncidentID))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In few case, The same filter need to apply outer analysis as well like,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Avg({&amp;lt;Incident_Date={"&amp;gt;=$(=Date(Max(Incident_Date)-6))&amp;lt;=$(=Date(Max(Incident_Date)))"}&amp;gt;} Aggr(Count(DISTINCT {&amp;lt;Incident_Date={"&amp;gt;=$(=Date(Max(Incident_Date)-6))&amp;lt;=$(=Date(Max(Incident_Date)))"}&amp;gt;} IncidentID), IncidentID))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 06:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/average-of-Count-distinct-IncidentID/m-p/2420992#M95676</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-02-20T06:55:18Z</dc:date>
    </item>
  </channel>
</rss>

