<?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: Looking for rolling average for prior 12 values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Looking-for-rolling-average-for-prior-12-values/m-p/21033#M1444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be this, if you are trying in table and having month Year as a dimension. - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;rangeavg(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;((((Sum([Active Clients Low Risk])/sum([Active Clients])*(1/10))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;+&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(Sum([Active Clients Medium Risk])/sum([Active Clients])*(2/10))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;+&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(Sum([Active Clients Moderate-High Risk])/sum([Active Clients])*(3/10))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;+&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(Sum([Active Clients High Risk])/sum([Active Clients])*(4/10)))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;-(1/10))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;/((4/10-(1/10)))*100)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;,0,12)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2018 21:19:47 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2018-03-27T21:19:47Z</dc:date>
    <item>
      <title>Looking for rolling average for prior 12 values</title>
      <link>https://community.qlik.com/t5/App-Development/Looking-for-rolling-average-for-prior-12-values/m-p/21032#M1443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have quite the perplexing question. I have an expression that reads as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((((Sum([Active Clients Low Risk])/sum([Active Clients])*(1/10))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;(Sum([Active Clients Medium Risk])/sum([Active Clients])*(2/10))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;(Sum([Active Clients Moderate-High Risk])/sum([Active Clients])*(3/10))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;(Sum([Active Clients High Risk])/sum([Active Clients])*(4/10)))&lt;/P&gt;&lt;P&gt;-(1/10))&lt;/P&gt;&lt;P&gt;/((4/10-(1/10)))*100)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I want to take the value that is generated from the expression and divide it by the rolling 12 month average beginning with the most recent period.&lt;/P&gt;&lt;P&gt;For example if I have a data point in December 2017, I want to calculate the average of the most recent 12 values from the above expression which would be Jan 2017 to Dec 2017.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 21:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looking-for-rolling-average-for-prior-12-values/m-p/21032#M1443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-27T21:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for rolling average for prior 12 values</title>
      <link>https://community.qlik.com/t5/App-Development/Looking-for-rolling-average-for-prior-12-values/m-p/21033#M1444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be this, if you are trying in table and having month Year as a dimension. - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;rangeavg(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;((((Sum([Active Clients Low Risk])/sum([Active Clients])*(1/10))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;+&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(Sum([Active Clients Medium Risk])/sum([Active Clients])*(2/10))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;+&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(Sum([Active Clients Moderate-High Risk])/sum([Active Clients])*(3/10))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;+&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(Sum([Active Clients High Risk])/sum([Active Clients])*(4/10)))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;-(1/10))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;/((4/10-(1/10)))*100)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;,0,12)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 21:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looking-for-rolling-average-for-prior-12-values/m-p/21033#M1444</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-03-27T21:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for rolling average for prior 12 values</title>
      <link>https://community.qlik.com/t5/App-Development/Looking-for-rolling-average-for-prior-12-values/m-p/21034#M1445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that didn't quite do it. The average should be around 0.42 but the result with the addition you provided yields 0.10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it help if that the periodicity column is called "Reporting Month-Year"? Perhaps adding that in somehow would help. The Month Year I'm using is customized so maybe that's why your answer didn't work. I'm using "Reporting Month-Year" instead. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 13:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looking-for-rolling-average-for-prior-12-values/m-p/21034#M1445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-28T13:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for rolling average for prior 12 values</title>
      <link>https://community.qlik.com/t5/App-Development/Looking-for-rolling-average-for-prior-12-values/m-p/21035#M1446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is correct, I entered the formula incorrectly, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 13:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Looking-for-rolling-average-for-prior-12-values/m-p/21035#M1446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-29T13:15:17Z</dc:date>
    </item>
  </channel>
</rss>

