<?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 Monthly Average With Detail Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Monthly-Average-With-Detail-Data/m-p/1553862#M745217</link>
    <description>&lt;P&gt;I have data at the day level but I would like to create an expression that calculates the monthly average for the last six months. I am currently using&lt;/P&gt;&lt;PRE&gt;=num(avg({&amp;lt; _M={13,12,11,10,9,8} &amp;gt;}total TransactionAMT*-1),'$#,##0')&lt;/PRE&gt;&lt;P&gt;with "_M" being the month number field and 8-13 being the last six months.&amp;nbsp; However, the calculation is averaging the data at the day level.&amp;nbsp; How do I calculate a monthly average for the last six months?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>danielreber</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Monthly Average With Detail Data</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-Average-With-Detail-Data/m-p/1553862#M745217</link>
      <description>&lt;P&gt;I have data at the day level but I would like to create an expression that calculates the monthly average for the last six months. I am currently using&lt;/P&gt;&lt;PRE&gt;=num(avg({&amp;lt; _M={13,12,11,10,9,8} &amp;gt;}total TransactionAMT*-1),'$#,##0')&lt;/PRE&gt;&lt;P&gt;with "_M" being the month number field and 8-13 being the last six months.&amp;nbsp; However, the calculation is averaging the data at the day level.&amp;nbsp; How do I calculate a monthly average for the last six months?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-Average-With-Detail-Data/m-p/1553862#M745217</guid>
      <dc:creator>danielreber</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average With Detail Data</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-Average-With-Detail-Data/m-p/1553876#M745218</link>
      <description>&lt;P&gt;&amp;nbsp;I believe I figured it out using&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=num(avg({&amp;lt; _M={13,12,11,10,9,8} &amp;gt;} aggr(sum(TransactionAMT*-1),_M)),'$#,##0')&lt;/PRE&gt;&lt;P&gt;Is this correct?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 20:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-Average-With-Detail-Data/m-p/1553876#M745218</guid>
      <dc:creator>danielreber</dc:creator>
      <dc:date>2019-03-07T20:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly Average With Detail Data</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-Average-With-Detail-Data/m-p/1553915#M745220</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/38012"&gt;@danielreber&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;I believe I figured it out using&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=num(avg({&amp;lt; _M={13,12,11,10,9,8} &amp;gt;} aggr(sum(TransactionAMT*-1),_M)),'$#,##0')&lt;/PRE&gt;&lt;P&gt;Is this correct?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Looks correct to me&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 02:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-Average-With-Detail-Data/m-p/1553915#M745220</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-03-08T02:00:17Z</dc:date>
    </item>
  </channel>
</rss>

