<?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: Avg issue? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737995#M1053531</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;Try this&amp;nbsp; one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;/Count({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;} Distinct month([Invoice Date]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2014 07:22:30 GMT</pubDate>
    <dc:creator>perumal_41</dc:creator>
    <dc:date>2014-10-16T07:22:30Z</dc:date>
    <item>
      <title>Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737987#M1053519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find last 12 months avg sales..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this Expression I am getting Last 12 Month Sales Value, I need to get Avg of this Sales ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 06:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737987#M1053519</guid>
      <dc:creator />
      <dc:date>2014-10-16T06:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737988#M1053520</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;=Avg({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 06:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737988#M1053520</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-10-16T06:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737989#M1053522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Since number of months are constant to 12.&lt;/P&gt;&lt;P&gt;you can use the below.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}Sales)/12&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 06:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737989#M1053522</guid>
      <dc:creator />
      <dc:date>2014-10-16T06:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737990#M1053523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shruthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12 is Fine, but I need to get dynamically that value &amp;amp; didvided by sales is nothing but my avg..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 07:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737990#M1053523</guid>
      <dc:creator />
      <dc:date>2014-10-16T07:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737991#M1053525</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;in that case just replace Sum by Avg in your expression. It will calculate automatically &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 07:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737991#M1053525</guid>
      <dc:creator />
      <dc:date>2014-10-16T07:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737992#M1053526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting Incorrect Value..Suggest me any other way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 07:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737992#M1053526</guid>
      <dc:creator />
      <dc:date>2014-10-16T07:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737993#M1053528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried but it was not working ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 07:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737993#M1053528</guid>
      <dc:creator />
      <dc:date>2014-10-16T07:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737994#M1053529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you attach the sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that we can try to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 07:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737994#M1053529</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2014-10-16T07:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737995#M1053531</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;Try this&amp;nbsp; one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;/Count({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;} Distinct month([Invoice Date]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 07:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737995#M1053531</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2014-10-16T07:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737996#M1053532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sales average per month for the last 12 month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 07:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737996#M1053532</guid>
      <dc:creator>mr_novice</dc:creator>
      <dc:date>2014-10-16T07:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737997#M1053533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this expr is working fine..&lt;/P&gt;&lt;P&gt;Thanks all..&lt;/P&gt;&lt;P&gt;=num(Avg(aggr(Sum({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}[Invoice Turn Over]),[Invoice Month])),'#,##0.000')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 07:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737997#M1053533</guid>
      <dc:creator />
      <dc:date>2014-10-16T07:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737998#M1053534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=num(Avg(aggr(Sum({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}[Invoice Turn Over]),[Invoice Month])),'#,##0.000')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 07:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737998#M1053534</guid>
      <dc:creator />
      <dc:date>2014-10-16T07:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737999#M1053535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perumal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting Last 12 Months Avg Sales based on Custcode...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Avg(aggr(Sum({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}[Invoice Turn Over]),CUST_CODE1)),'#,##0.000')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get Last 12 Months Avg Balance Amount on Custcode..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Balance Amount = Sum(ORG Amt) - Sum(ADJ Amt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Avg(aggr(Sum({&amp;lt;OST_DOC_DT={'&amp;gt;=$(=MonthStart(Max(OST_DOC_DT), -11))&amp;lt;=$(=Date(Max(OST_DOC_DT)))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;sum(OST_FC_ORG_AMT)-sum(OST_FC_ADJ_AMT)),CUST_CODE1)),'#,##0.000')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting Null Value Last 12 Months Avg Balance Amount column....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 14:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/737999#M1053535</guid>
      <dc:creator />
      <dc:date>2014-10-20T14:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738000#M1053536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of Sales , I am&amp;nbsp; Keeping&amp;nbsp; Some EXpression , Getting Null Value ...HOw to Resolve&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 14:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738000#M1053536</guid>
      <dc:creator />
      <dc:date>2014-10-20T14:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738001#M1053537</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;Try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;OST_DOC_DT={'&amp;gt;=$(=MonthStart(Max(OST_DOC_DT), -11))&amp;lt;=$(=Date(Max(OST_DOC_DT)))'}&amp;gt;}OST_FC_ORG_AMT)&lt;BR /&gt;-sum({&amp;lt;OST_DOC_DT={'&amp;gt;=$(=MonthStart(Max(OST_DOC_DT), -11))&amp;lt;=$(=Date(Max(OST_DOC_DT)))'}&amp;gt;}OST_FC_ADJ_AMT),CUST_CODE1)),'#,##0.000') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 03:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738001#M1053537</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2014-10-21T03:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738002#M1053538</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;Try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;OST_DOC_DT={'&amp;gt;=$(=MonthStart(Max(OST_DOC_DT), -11))&amp;lt;=$(=Date(Max(OST_DOC_DT)))'}&amp;gt;}OST_FC_ORG_AMT)&lt;BR /&gt;-sum({&amp;lt;OST_DOC_DT={'&amp;gt;=$(=MonthStart(Max(OST_DOC_DT), -11))&amp;lt;=$(=Date(Max(OST_DOC_DT)))'}&amp;gt;}OST_FC_ADJ_AMT),CUST_CODE1)),'#,##0.000') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 03:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738002#M1053538</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2014-10-21T03:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738003#M1053539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Perumal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its coming but I want to use this Expression in Last 12 Months Avg...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(Sum({&amp;lt;OST_DRCR_FLAG={'C'}&amp;gt;}OST_FC_ADJ_AMT)-sum({&amp;lt;OST_DRCR_FLAG={'C'}&amp;gt;}OST_FC_ORG_AMT))+&lt;/P&gt;&lt;P&gt; (Sum({&amp;lt;OST_DRCR_FLAG={'D'}&amp;gt;}OST_FC_ORG_AMT)-sum({&amp;lt;OST_DRCR_FLAG={'D'}&amp;gt;}OST_FC_ADJ_AMT))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me on this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 04:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738003#M1053539</guid>
      <dc:creator />
      <dc:date>2014-10-21T04:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738004#M1053540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;you can try this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}Sales)/12&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 05:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738004#M1053540</guid>
      <dc:creator />
      <dc:date>2014-10-21T05:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738005#M1053541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try like this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}Sales)/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;} &lt;/SPAN&gt;DISTINCT MonthStart(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Max([Invoice Date]))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;}Sales)/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;[Invoice Date]={'&amp;gt;=$(=MonthStart(Max([Invoice Date]), -11))&amp;lt;=$(=Date(Max([Invoice Date])))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DISTINCT MonthDimensionName)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 06:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738005#M1053541</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-21T06:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Avg issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738006#M1053542</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr(&lt;/SPAN&gt;&lt;/SPAN&gt;((Sum({&amp;lt;OST_DRCR_FLAG={'C'},OST_DOC_DT={'&amp;gt;=$(=MonthStart(Max(OST_DOC_DT), -11))&amp;lt;=$(=Date(Max(OST_DOC_DT)))'}&amp;gt;}OST_FC_ADJ_AMT)&lt;/P&gt;&lt;P&gt;-sum({&amp;lt;OST_DRCR_FLAG={'C'},OST_DOC_DT={'&amp;gt;=$(=MonthStart(Max(OST_DOC_DT), -11))&amp;lt;=$(=Date(Max(OST_DOC_DT)))'}&amp;gt;}OST_FC_ORG_AMT))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;(Sum({&amp;lt;OST_DRCR_FLAG={'D'},OST_DOC_DT={'&amp;gt;=$(=MonthStart(Max(OST_DOC_DT), -11))&amp;lt;=$(=Date(Max(OST_DOC_DT)))'}&amp;gt;}OST_FC_ORG_AMT)&lt;/P&gt;&lt;P&gt;-sum({&amp;lt;OST_DRCR_FLAG={'D'},OST_DOC_DT={'&amp;gt;=$(=MonthStart(Max(OST_DOC_DT), -11))&amp;lt;=$(=Date(Max(OST_DOC_DT)))'}&amp;gt;}OST_FC_ADJ_AMT))),CUST_CODE1)),'#,##0.000') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 06:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-issue/m-p/738006#M1053542</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2014-10-21T06:16:39Z</dc:date>
    </item>
  </channel>
</rss>

