<?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 Average per day of month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239734#M622213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(MonthYear = Previous(MonthYear), RangeSum(Peek('CumAmountPerDay'), AmountPerDay), AmountPerDay) as CumAmountPerDay;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date(MonthYear + IterNo() - 1&lt;SPAN style="color: #ff0000;"&gt;, 'MM-DD-YYYY'&lt;/SPAN&gt;) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While MonthYear + IterNo() - 1 &amp;lt;= MonthEnd(MonthYear);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(MonthStart(Date#(MonthYear, 'MMM-YYYY')), 'MMM-YYYY') as MonthYear,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Amount,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Amount/Day(MonthEnd(Date#(MonthYear, 'MMM-YYYY'))) as AmountPerDay;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MonthYear, Amount&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Nov-2016, 64523214.21&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dec-2016, 96369197.32&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jan 2017 15:25:33 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-10T15:25:33Z</dc:date>
    <item>
      <title>Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239722#M622201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get a rolling average for each day of the month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a total budget number for each month. I am trying to Get the average per day and make that a rolling number up through the end of the month. Does anyone have any idea on how to do so? Thank you in advance for your help and please let me know if any further information is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2016 15:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239722#M622201</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2016-12-27T15:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239723#M622202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be look into: &lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2016 15:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239723#M622202</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-27T15:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239724#M622203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or may be this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2016 15:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239724#M622203</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-27T15:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239725#M622204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still no luck. It seems simple, I am just struggling with it. I have the monthly budget number and just need to average that out daily with a running sum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 18:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239725#M622204</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2016-12-29T18:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239726#M622205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample with expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 18:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239726#M622205</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-29T18:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239727#M622206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147941_Capture.PNG" style="height: auto;" /&gt;I have the total ($96369197.32) for each month in the format of mm/YYYY. That is what I am trying to average per day with the running sum to eventually show that total on the last day of every month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 18:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239727#M622206</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2016-12-29T18:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239728#M622207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want to divide 96369197.32 equal among each of the day within a month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 18:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239728#M622207</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-29T18:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239729#M622208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Essentially, yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 18:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239729#M622208</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2016-12-29T18:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239730#M622209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something along these lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(MonthYear = Previous(MonthYear), RangeSum(Peek('CumAmountPerDay'), AmountPerDay), AmountPerDay) as CumAmountPerDay;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date(MonthYear + IterNo() - 1) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While MonthYear + IterNo() - 1 &amp;lt;= MonthEnd(MonthYear);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(MonthStart(Date#(MonthYear, 'MMM-YYYY')), 'MMM-YYYY') as MonthYear,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Amount,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Amount/Day(MonthEnd(Date#(MonthYear, 'MMM-YYYY'))) as AmountPerDay;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MonthYear, Amount&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Nov-2016, 64523214.21&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dec-2016, 96369197.32&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&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/147944_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 19:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239730#M622209</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-29T19:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239731#M622210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Perfect! This worked! I have one more small question, do you mind emailing me? &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:kyle.roberts@osumc.edu"&gt;kyle.roberts@osumc.edu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 15:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239731#M622210</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2016-12-30T15:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239732#M622211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;Is it possible to Make the Date field above 'MM-DD-YYY'? While keeping the Month Year piece as it is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239732#M622211</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2017-01-10T14:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239733#M622212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;Is it possible to Make the Date field above 'MM-DD-YYY'? While keeping the Month Year piece as it is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239733#M622212</guid>
      <dc:creator>kroberts13</dc:creator>
      <dc:date>2017-01-10T14:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Average per day of month</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239734#M622213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(MonthYear = Previous(MonthYear), RangeSum(Peek('CumAmountPerDay'), AmountPerDay), AmountPerDay) as CumAmountPerDay;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date(MonthYear + IterNo() - 1&lt;SPAN style="color: #ff0000;"&gt;, 'MM-DD-YYYY'&lt;/SPAN&gt;) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While MonthYear + IterNo() - 1 &amp;lt;= MonthEnd(MonthYear);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(MonthStart(Date#(MonthYear, 'MMM-YYYY')), 'MMM-YYYY') as MonthYear,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Amount,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Amount/Day(MonthEnd(Date#(MonthYear, 'MMM-YYYY'))) as AmountPerDay;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MonthYear, Amount&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Nov-2016, 64523214.21&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dec-2016, 96369197.32&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2017 15:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Average-per-day-of-month/m-p/1239734#M622213</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-10T15:25:33Z</dc:date>
    </item>
  </channel>
</rss>

