<?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 Rolling 30 Days Average via Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298833#M826720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&amp;nbsp; I've been a long time lurker of these forums. I've read a ton in the last 3 years I've been using QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't been able to solve my issue via lurking (or even find something close to it), so I finally made an account.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here's the scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've been asked to find the average cost of an item for the last month, but on a specific day...&amp;nbsp; i.e. The average cost of a toothbrush for the last 30 days on July 12th, 2017 (so the average cost of the toothbrush between June 13th and July 12th).&amp;nbsp; That part is simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But now here's the tricky part:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need to be able to show this average cost across the lifespan of my data.&amp;nbsp; i.e. The average cost of a toothbrush for the last 30 days on July 12th (&lt;EM&gt;avg of June 13th - July 12th&lt;/EM&gt;), July 11th (&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;avg of &lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;June 12th - July 11th&lt;/EM&gt;), July 10th (&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;avg of &lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;June 11th - July 10th&lt;/EM&gt;), etc. Each average will have 30 days of cost values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what to call it.&amp;nbsp; A trailing 30 days average or something.&amp;nbsp; On top of all this, I need to get it into a chart format of sorts - line or bar, I don't care for now. Just trying to get the concept down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if it's better to get all of this in during the load of the files or using a calculated field in the expressions and/or dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>mattparker</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298833#M826720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&amp;nbsp; I've been a long time lurker of these forums. I've read a ton in the last 3 years I've been using QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't been able to solve my issue via lurking (or even find something close to it), so I finally made an account.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here's the scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've been asked to find the average cost of an item for the last month, but on a specific day...&amp;nbsp; i.e. The average cost of a toothbrush for the last 30 days on July 12th, 2017 (so the average cost of the toothbrush between June 13th and July 12th).&amp;nbsp; That part is simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But now here's the tricky part:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need to be able to show this average cost across the lifespan of my data.&amp;nbsp; i.e. The average cost of a toothbrush for the last 30 days on July 12th (&lt;EM&gt;avg of June 13th - July 12th&lt;/EM&gt;), July 11th (&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;avg of &lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;June 12th - July 11th&lt;/EM&gt;), July 10th (&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;avg of &lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;June 11th - July 10th&lt;/EM&gt;), etc. Each average will have 30 days of cost values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what to call it.&amp;nbsp; A trailing 30 days average or something.&amp;nbsp; On top of all this, I need to get it into a chart format of sorts - line or bar, I don't care for now. Just trying to get the concept down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if it's better to get all of this in during the load of the files or using a calculated field in the expressions and/or dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298833#M826720</guid>
      <dc:creator>mattparker</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298834#M826721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another note: What I'm looking for is very similar to the Accumulate option on the Expressions tab of a chart, but it cannot be a summation.&amp;nbsp; Really looking for that average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This guy on youtube almost nails it for me, but still missing the average part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=k-_OE5gIzv4" title="https://www.youtube.com/watch?v=k-_OE5gIzv4"&gt;QlikView Tutorials | Expressions | Creating Running Total or Rolling n days total - YouTube&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 19:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298834#M826721</guid>
      <dc:creator>mattparker</dc:creator>
      <dc:date>2017-07-12T19:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298835#M826722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, maybe in a chart try with date as dimension and as expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeAvg(above(Cost,0,30))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 20:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298835#M826722</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-07-12T20:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298836#M826723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aye!&amp;nbsp; I literally just stumbled upon this exact same equation!&amp;nbsp; It is so close.&amp;nbsp; SO CLOSE!&amp;nbsp; The value of 30 works perfectly if I have 30 days of data points, but if I have (for example) 5, it doesn't work as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is good, however!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 20:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298836#M826723</guid>
      <dc:creator>mattparker</dc:creator>
      <dc:date>2017-07-12T20:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298837#M826724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, when you say it doesn't work as well when it's 5, it means that your data begins on 07/07/2017 ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you have to store the number of cell in a vriable and use&amp;nbsp; :&amp;nbsp; RangeAvg(above(Cost,0,$(V_cell)))&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 20:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298837#M826724</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-07-12T20:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298838#M826725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So for example, let's say I still want to look at the 30 days prior average of the toothbrush.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;RangeAvg(above(Cost,0,30)) works great if each day has ONE cost associated with it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I only have five data points in that 30 day range (e.g. July 11th, July 8th, June 30th, June 29th, and June 14th), the calculation goes into my other data points (June 4th, April 3rd, January 1st. etc.)&amp;nbsp; The same can be said if I have multiple cost data points for a specific day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe if I were able to extract a count of how many data points are within the range of June 13th - July 12th and apply that to the RangeAvg code...&amp;nbsp; Hmmmmm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 20:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298838#M826725</guid>
      <dc:creator>mattparker</dc:creator>
      <dc:date>2017-07-12T20:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298839#M826727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, i understand. So, it should works for you with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(above(Cost,0,30)) / RangeSum(above(if(Cost='',0,1),0,30))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 21:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298839#M826727</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-07-12T21:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298840#M826728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see what you did here.&amp;nbsp; You are spelling out the average by using RangeSum rather than using RangeAvg.&amp;nbsp; Very smart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, this is very close, but not exactly what I'm looking for.&amp;nbsp; A+ work, however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll keep tweaking and see what I can come up with.&amp;nbsp; Other suggestions are more than welcome.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298840#M826728</guid>
      <dc:creator>mattparker</dc:creator>
      <dc:date>2017-07-13T12:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298841#M826729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok ,but can you provide an Excel sample file, &lt;SPAN class="short_text" lang="en"&gt;that I can work from your data?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298841#M826729</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-07-13T12:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298842#M826730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I would do it in the script using Peek.&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AggrOverDay:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Sum(Qty) as DayQty,&lt;/P&gt;&lt;P&gt;Sum(Qty*Price) as DaySales,&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;From ...&lt;/P&gt;&lt;P&gt;Group by Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Rangesum(DayQty, Peek(30DayQty),-Peek(DayQty,-30)) as 30DayQty&lt;/P&gt;&lt;P&gt;Rangesum(DaySales, Peek(30TotalDaySales),-Peek(DaySales,-30)) as&amp;nbsp; 30TotalDaySales&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;From AggrOverDay;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the 30Avg is 30TotalDaySales / 30DayQty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't been able to debug this; I'm hoping just to give you the idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 13:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298842#M826730</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-13T13:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298843#M826731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Avg({&amp;lt;Date={"&amp;gt;=$(=max(Date)-30)&amp;lt;=$(=max(Date))"}&amp;gt;} Cost)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 13:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298843#M826731</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-07-13T13:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298844#M826732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep!&amp;nbsp; Here you go!&amp;nbsp; Here's essentially what I'm trying to go for... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your aid!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 14:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298844#M826732</guid>
      <dc:creator>mattparker</dc:creator>
      <dc:date>2017-07-13T14:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298845#M826733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Andrew!&amp;nbsp; I'll give it a shot.&amp;nbsp; I really don't want to do it in the script, but it may be the way I have to.&amp;nbsp; Thanks for your input!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 14:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298845#M826733</guid>
      <dc:creator>mattparker</dc:creator>
      <dc:date>2017-07-13T14:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298846#M826734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, gave it a shot.&amp;nbsp; No luck on this end.&amp;nbsp; I appreciate you jumping in to try and help, however.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 18:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298846#M826734</guid>
      <dc:creator>mattparker</dc:creator>
      <dc:date>2017-07-20T18:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298847#M826735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean-Baptiste!&amp;nbsp; Any thoughts on the file I provided to get an idea of what I'm after?&amp;nbsp; Your help is greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 18:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298847#M826735</guid>
      <dc:creator>mattparker</dc:creator>
      <dc:date>2017-07-20T18:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298848#M826736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your cost values are valid from date of occurrence until the next recorded date then one solution might be to generate the missing dates e.g. like described in "&lt;A href="https://community.qlik.com/qlik-blogpost/2940"&gt;Creating Reference Dates for Intervals&lt;/A&gt;" using Jean-Baptiste's RangeAvg() expression.&lt;/P&gt;&lt;P&gt;So one example might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_267457_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170935_QlikCommunity_Thread_267457_Pic1.JPG" style="height: 182px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15005947355748643" jivemacro_uid="_15005947355748643"&gt;
&lt;P&gt;tabTemp:&lt;/P&gt;
&lt;P&gt;LOAD Date(Date) as Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Money([Toothbrush Cost],'#,##0 €;-#,##0 €') as [Toothbrush Cost]&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="287201" data-objecttype="13" href="https://community.qlik.com/servlet/JiveServlet/download/2003-267457-1306577-287201/QlikViewExample.xlsx"&gt;https://community.qlik.com/servlet/JiveServlet/download/1306577-287201/QlikViewExample.xlsx&lt;/A&gt;&lt;SPAN&gt;] (ooxml, embedded labels, table is Sheet1)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Where Date;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabCost:&lt;/P&gt;
&lt;P&gt;LOAD Date(Date+IterNo()-1) as Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Toothbrush Cost]&lt;/P&gt;
&lt;P&gt;While Date+IterNo()-1 &amp;lt; PrevDate or IterNo()=1;&lt;/P&gt;
&lt;P&gt;LOAD Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Previous(Date) as PrevDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Toothbrush Cost]&lt;/P&gt;
&lt;P&gt;Resident tabTemp&lt;/P&gt;
&lt;P&gt;Order By Date desc;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table tabTemp;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 23:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298848#M826736</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-07-20T23:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 Days Average via Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298849#M826737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is as close as it's going to get - while I don't like the idea of throwing in dates that don't actually exist, I'll just recode it as a new field so it doesn't confuse anyone.&amp;nbsp; Thank you for your assistance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 15:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-30-Days-Average-via-Chart/m-p/1298849#M826737</guid>
      <dc:creator>mattparker</dc:creator>
      <dc:date>2017-07-21T15:35:23Z</dc:date>
    </item>
  </channel>
</rss>

