<?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: rolling 7-day average in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/rolling-7-day-average/m-p/1761324#M58853</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You would use Rangesum &amp;amp; above similiar to this post;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Rolling-7-days/td-p/114610" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Rolling-7-days/td-p/114610&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 20:24:30 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2020-11-12T20:24:30Z</dc:date>
    <item>
      <title>rolling 7-day average</title>
      <link>https://community.qlik.com/t5/App-Development/rolling-7-day-average/m-p/1761308#M58851</link>
      <description>&lt;P&gt;I need an expression that will allow plotting a line graph of the rolling 7 day average of a calculation.&lt;/P&gt;&lt;P&gt;First to get the numerator, I have tried this&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Date={"&amp;gt;=$(date(floor(Date))-7)&amp;lt;$(date(floor(Date)+1))"}&amp;gt;} RESULT)&lt;/P&gt;&lt;P&gt;but it does not work; returns the same as count(RESULT)&lt;/P&gt;&lt;P&gt;The measure I am graphing is&amp;nbsp; a ratio; i.e.&lt;/P&gt;&lt;P&gt;7 day average positivity = count(where RESULT='POS') / count(RESULT)&lt;/P&gt;&lt;P&gt;and I need to know what to add to change that from a daily average to a rolling 7-day average with the x-axis dimension of Date&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/rolling-7-day-average/m-p/1761308#M58851</guid>
      <dc:creator>daveatkins</dc:creator>
      <dc:date>2021-12-20T21:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: rolling 7-day average</title>
      <link>https://community.qlik.com/t5/App-Development/rolling-7-day-average/m-p/1761324#M58853</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You would use Rangesum &amp;amp; above similiar to this post;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Rolling-7-days/td-p/114610" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Rolling-7-days/td-p/114610&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 20:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/rolling-7-day-average/m-p/1761324#M58853</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2020-11-12T20:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: rolling 7-day average</title>
      <link>https://community.qlik.com/t5/App-Development/rolling-7-day-average/m-p/1761363#M58858</link>
      <description>&lt;P&gt;I came up with a formula, but it does not work across additional dimensions. For example, I have a column for "region" and want line plots for each region. The expression doesn't allow for splitting out the additional dimension:&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the rolling 7-day count of tests performed. (this just the denominator in the positivity average I ultimately need).&lt;/P&gt;&lt;P&gt;sum(aggr(rangesum(above(total count({&amp;lt;TestingDate=&amp;gt;}if(not isnull(VerifyDate),AcctNum)),0,7)),TestingDate))&lt;/P&gt;&lt;P&gt;oh...read the documentation...&lt;/P&gt;&lt;P&gt;sum(aggr(rangesum(above(total count({&amp;lt;TestingDate=&amp;gt;}if(not isnull(VerifyDate),AcctNum)),0,7)),TestingDate, Region))&lt;/P&gt;&lt;P&gt;I think that solves it!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 23:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/rolling-7-day-average/m-p/1761363#M58858</guid>
      <dc:creator>daveatkins</dc:creator>
      <dc:date>2020-11-12T23:06:08Z</dc:date>
    </item>
  </channel>
</rss>

