<?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 12-Months Average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364907#M460797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You see how the expressions without the Avg(1) shows everything regardless of the selection? This happens because we ignore selection in Date and Month related field... now to get rid of the un-selected value we multiply by Avg(1). Avg(1) will equal to 1 within the selection and 0 outside of the selection. We can use an if statement to do the same thing, but using Avg(1) is supposedly efficient compared to if statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 19:58:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-04-11T19:58:55Z</dc:date>
    <item>
      <title>Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364880#M460770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve been tasked to create a Rolling 12-month average chart.&amp;nbsp; I haven’t been able to find a solution from my research in the QV Community over the past 2-days.&amp;nbsp; Hoping someone here can share their expertise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think one of the requirements is what makes it challenging.&amp;nbsp; If the user selects say, three months, they need to see the average of the prior 12-months on each month.&amp;nbsp; So, a rolling 12-months for multiple months (selected).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They need to see it in a bar chart with either a second series for the rolling-12 average or a trendline of it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I initially thought about using the asof approach, but the application is 6+gb.&amp;nbsp; We can’t intentionally make it that much larger.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample. Didn’t load data for all of the expressions, but most of it is there.&amp;nbsp; Can someone guide me to the best method of meeting this requirement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 13:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364880#M460770</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2017-04-07T13:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364881#M460771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be try this..&lt;/P&gt;&lt;P&gt;haven't tested&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Below(Total SUM([Expenses Paid]),0,12))&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;RangeSum(Above(Total SUM([Expenses Paid]),0,12))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 13:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364881#M460771</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-04-07T13:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364882#M460772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you.&amp;nbsp; I need an average (rolling 12).&amp;nbsp; Should it be RangeAvg? &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Here's a screenshot using RangeAvg.&amp;nbsp; Looks like it works using the max date selected - 12 back.&amp;nbsp; The rolling 12 avg isn't accurate for Jan 2016.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="R12.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159466_R12.PNG" style="height: 175px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 16:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364882#M460772</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2017-04-07T16:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364883#M460773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeAvg(Above(Sum({&amp;lt;MonthName&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Expenses Paid]&lt;/SPAN&gt;), 0, RowNo())) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 16:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364883#M460773</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-07T16:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364884#M460774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Sunny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works, but only for the selected range.&amp;nbsp; Appears to be a cumulative average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output should be the prior 12-months average, per (selected) month.&amp;nbsp; If more than one month is selected, the average of the prior 12-months should show for each month.&amp;nbsp; It's another series in the chart.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking it's something like this, but it doesn't work:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;%Date = {"&amp;gt;=$(=MonthStart(Max(%Date),-12))&amp;lt;=$(=MonthStart(Max(%Date)))"},Month=&amp;gt;} (AGGR([Expenses Paid],MonthName))) * Avg(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Note: I don't know what the Avg(1) does...or if AGGR can be used here.&amp;nbsp; QV says the expression is ok.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Jan 2016 - avg of Feb 2015 thru Jan 2016&lt;/P&gt;&lt;P&gt;Feb 2016 - avg of Mar 2015 thru Feb 2016&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 19:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364884#M460774</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2017-04-07T19:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364885#M460775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Totally forgot about the 12 month part... can you try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeAvg(Above(Sum({&amp;lt;MonthName&amp;gt;}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;[Expenses Paid]&lt;/SPAN&gt;), 0, &lt;SPAN style="color: #ff0000;"&gt;12&lt;/SPAN&gt;)) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Apr 2017 10:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364885#M460775</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-08T10:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364886#M460776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why you are multiplying with avg(1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 12:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364886#M460776</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2017-04-10T12:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364887#M460777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks, Sunny.&amp;nbsp; I tried it and nothing changed. The date range in the expression doesn't go outside of the dimensions - making set analysis required. Something like: avg({&amp;lt;%Date = {"&amp;gt;=$(=MonthStart(Max(%Date),-12))&amp;lt;=$(=MonthStart(Max(%Date)))"}&amp;gt;} [Expenses Paid])&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Suresh, I don't know why it's multiplied by an avg(1). &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;An updated copy of the application is attached to help visualize the request.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This might help also.&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="R12c.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159616_R12c.PNG" style="height: 108px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 12:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364887#M460777</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2017-04-10T12:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364888#M460778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this look right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159620_Capture.PNG" style="height: 165px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeAvg(Above(Sum({&amp;lt;MonthName, &lt;SPAN style="color: #ff0000;"&gt;Year&lt;/SPAN&gt;&amp;gt;}[Expenses Paid]), 0, 12)) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, you need to ignore selection in all date and year related fields where you plan to make a selection. In the attached example, you made selection in Year, but you did not exclude the selection in Year field....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 12:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364888#M460778</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T12:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364889#M460779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the math is spot-on.&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My only concern is not being able to select a Month to get the rolling-12 for a (selected) given month.&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Is there a way to have it avg back 12-months from each (selected) month?&amp;nbsp; If not, w&lt;/SPAN&gt;e'll deal with it.&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;What does &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;{&amp;lt;MonthName, Year&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; do?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 13:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364889#M460779</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2017-04-10T13:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364890#M460780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say Month, do you mean MonthName field or another Month field which is just Jan, Feb, Mar field without year?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;What does &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #ff0000;"&gt;{&amp;lt;MonthName, Year&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; do? &lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It just ignore selection in MonthName and Year field which makes it possible for your expression to look for Avg for Month Years which are out of selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 13:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364890#M460780</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T13:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364891#M460781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The name of the field is actually Month. It's just Jan, Feb, Mar, etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 14:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364891#M460781</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2017-04-10T14:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364892#M460782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you select a Month and a Year or just Month? If you select Month and no year, which 12 months it shows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 14:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364892#M460782</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T14:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364893#M460783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It shows the selected month, for each year.&amp;nbsp; E.g., Mar 2011, Mar 2012, Mar 2013...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 16:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364893#M460783</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2017-04-10T16:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364894#M460784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason I am confused... what do you want to see? Based on selection in Month field, what should be the output you are looking to get?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159655_Capture.PNG" style="height: 242px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 16:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364894#M460784</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T16:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364895#M460785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My apologies for the confusion.&amp;nbsp; I must admit, I'm confused with this request too, so I might not be communicating it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I'm looking for:&lt;/P&gt;&lt;P&gt;If I select 2016 and Jun, the Rolling 12 average should be $4,800,411.&amp;nbsp; But, it shows $2,589,814.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 16:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364895#M460785</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2017-04-10T16:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364896#M460786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean Jun or Jan?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan I get this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/159663_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;June I get this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/159662_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression used:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeAvg(Above(Sum({&amp;lt;MonthName, Year&lt;SPAN style="color: #ff0000;"&gt;, Month&lt;/SPAN&gt;&amp;gt;}[Expenses Paid]), 0, 12)) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like I mentioned above, ignore all date/time related selection where you plan to make selections, or expect the users to make selections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 16:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364896#M460786</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T16:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364897#M460787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, got it.&amp;nbsp; Thank you for your patience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did mean Jan 2016, not June.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like that did the trick.&amp;nbsp; Many thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 17:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364897#M460787</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2017-04-10T17:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364898#M460788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem... I am glad we were able to figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 17:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364898#M460788</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-10T17:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12-Months Average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364899#M460789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, sorry to bother you again.&amp;nbsp; Everything works...until I get to percentages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't figure out how to modify the expression to be accurate when dividing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: I thought this expression would be correct, but it doesn't actually give me the true previous 12-mth average.&lt;/P&gt;&lt;P&gt;(RangeAvg(Above(Sum({&amp;lt;MonthName,Year,Month&amp;gt;}[Closed Reserves]), 0, 12)) * Avg(1))&lt;/P&gt;&lt;P&gt;/ (RangeAvg(Above(Sum({&amp;lt;MonthName,Year,Month&amp;gt;}[New Reserves] + [Reopen Reserves]), 0, 12)) * Avg(1))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="560"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" width="98"&gt;MonthName&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="91"&gt;Close Pcnt&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="98"&gt;Closed Reserves&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="98"&gt;New Reserves&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="106"&gt;Reopen Reserves&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="69"&gt;True Avg %&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Sep 2015&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;106.5%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;46,456&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;43,648&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;2,977&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.6%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Oct 2015&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;98.6%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;47,760&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;44,796&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,081&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.8%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Nov 2015&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;99.0%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;48,535&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;45,519&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,152&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Dec 2015&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;100.2%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;49,214&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;45,994&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,198&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;100.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Jan 2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;96.4%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;49,670&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;46,533&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,255&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.8%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Feb 2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;100.7%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;50,193&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;47,116&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,289&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.6%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Mar 2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;103.0%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;50,735&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;47,498&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,315&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.8%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Apr 2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;98.1%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;52,284&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;49,011&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,447&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;May 2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;101.2%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;51,808&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;48,546&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,435&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Jun 2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;95.5%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;52,160&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;48,977&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,468&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.5%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Jul 2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;96.6%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;52,611&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;49,474&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,483&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.3%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Aug 2016&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;97.7%&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;53,027&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;49,911&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3,502&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;99.3%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'True' Prev 12-Month Avg % should be 99.6%.&amp;nbsp; The expression above gives 99.3%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what Avg(1) is doing, but know that it does affect the quotient.&amp;nbsp; Should the entire expression be constructed differently to achieve the needed result?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 16:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-Months-Average/m-p/1364899#M460789</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2017-04-11T16:09:56Z</dc:date>
    </item>
  </channel>
</rss>

