<?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: cumulative issue? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710958#M256082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the below link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/139496"&gt;http://community.qlik.com/thread/139496&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2014 04:38:29 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2014-10-29T04:38:29Z</dc:date>
    <item>
      <title>cumulative issue?</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710952#M256076</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 have Calucated Doc_Amount up to till date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here If I am Selecting any Year &amp;amp; any Month I getting Doc_Amount Correct..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I selected may -2014 up to till May Ending I am getting the Doc_Amount Correct..&lt;/P&gt;&lt;P&gt;I selected Apr -2014 up to till Apr Ending I am getting the Doc_Amount Correct..&lt;/P&gt;&lt;P&gt;I selected mar -2014 up to till mar Ending I am getting the Doc_Amount Correct..&lt;/P&gt;&lt;P&gt;like this So on.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I want If I select any month Apr-2014, From that Current month onwards, I need to get last 12 months Avg?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Apr-2014,mar-2014,..............May-2014) / 12 is my Last 12 months 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>Tue, 28 Oct 2014 13:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710952#M256076</guid>
      <dc:creator />
      <dc:date>2014-10-28T13:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative issue?</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710953#M256077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen, is each Doc_Amount per month the cummulative sum of the last 12 months?&lt;/P&gt;&lt;P&gt;When you say las 12 moths avg is meant to be the average of each month alone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, you only need to use Doc_Amount/12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 14:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710953#M256077</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-10-28T14:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative issue?</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710954#M256078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Till ENd of Each month I am getting the Doc_Amount ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to get Last 12 months Avg of Doc_Amount?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my My doc Amount Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;TD_DOC_DT={"&amp;lt;=$(=max(TD_DOC_DT))"},TD_DOC_DT_Year=,TD_DOC_DT_Month=,TD_DOC_DRCR_FLAG={'D'}&amp;gt;}TD_DOC_AMT)-&lt;/P&gt;&lt;P&gt;sum({&amp;lt;TD_DOC_DT={"&amp;lt;=$(=max(TD_DOC_DT))"},TD_DOC_DT_Year=,TD_DOC_DT_Month=,TD_DOC_DRCR_FLAG={'C'}&amp;gt;}TD_DOC_AMT)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;sum(OPENING)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 14:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710954#M256078</guid>
      <dc:creator />
      <dc:date>2014-10-28T14:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative issue?</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710955#M256079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I don't really undesrtand but I will make a wild guessing, supposing TD_DOC_DT is the date and TD_DOC_DRCR_FLAG is Credit/Debit or something like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try:&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;TD_DOC_DT={"&amp;gt;=$(=Addmonths(max(TD_DOC_DT), -12))&amp;lt;=$(=max(TD_DOC_DT))"}, TD_DOC_DT_Year=,TD_DOC_DT_Month=,TD_DOC_DRCR_FLAG={'D'}&amp;gt;}TD_DOC_AMT)-&lt;/P&gt;&lt;P&gt;sum({&amp;lt;TD_DOC_DT={"&amp;gt;=$(=Addmonths(max(TD_DOC_DT), -12))&amp;lt;=$(=max(TD_DOC_DT))"}, TD_DOC_DT_Year=,TD_DOC_DT_Month=,TD_DOC_DRCR_FLAG={'C'}&amp;gt;}TD_DOC_AMT))/12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if you want to add the "+ sum(OPENING)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works.If it's not, probably I need a sample to give more help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 14:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710955#M256079</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-10-28T14:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: cumulative issue?</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710956#M256080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA..&lt;/P&gt;&lt;P&gt;Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OPENING&lt;/SPAN&gt;) is the&amp;nbsp; some debtor amount which has to be added for the customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample O/P Should be:&lt;/P&gt;&lt;P&gt;Select Customer No: 100950&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;2014-July&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DOc MAount&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; Last 12 Months&lt;/P&gt;&lt;P&gt;3282049.29&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; 1697138&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;2014-May&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DOc MAount&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; Last 12 Months&lt;/P&gt;&lt;P&gt;1464890.81&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; 1439224&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;2014-May&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DOc MAount&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; Last 12 Months&lt;/P&gt;&lt;P&gt;2182339.81&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; 1437235.14 !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 16:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710956#M256080</guid>
      <dc:creator />
      <dc:date>2014-10-28T16:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: cumulative issue?</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710957#M256081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not getting last 12 months Avg as correct value ? plz check this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 04:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710957#M256081</guid>
      <dc:creator />
      <dc:date>2014-10-29T04:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative issue?</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710958#M256082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the below link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/139496"&gt;http://community.qlik.com/thread/139496&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 04:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710958#M256082</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2014-10-29T04:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative issue?</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710959#M256083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&amp;nbsp; Kush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There it was Sales, I have to take Sales for Each &amp;amp; every Month, there it was fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Amounts I need to take till date for Each &amp;amp; Every month....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select May-2014, then Last 12 months Avg Will be taken as like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(&amp;lt;=May2014 + &amp;lt;=Apr2014 + &amp;lt;=Mar2014 ............+&amp;lt;=Jun2013)&amp;nbsp; / 12...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please go through the app, Sample O/P also i have mentioned there....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 04:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710959#M256083</guid>
      <dc:creator />
      <dc:date>2014-10-29T04:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative issue?</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710960#M256084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any Ans on above methodology..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 08:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710960#M256084</guid>
      <dc:creator />
      <dc:date>2014-10-29T08:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative issue?</title>
      <link>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710961#M256085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Betty, sorry, I was busy. I think I start to understand what you want, to get the value of each Doc_amount you sum all values from the begining and you want the average of that cummulative values, not for that last 12 months alone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't get a quick answer to optimize your methodology so go on or wait untill some other guy gives any tips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI: For some accountant documents I create the cummulative value in script, so it's easier to use un graphics but I don't know if it will work with your data granularity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 08:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cumulative-issue/m-p/710961#M256085</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-10-29T08:55:27Z</dc:date>
    </item>
  </channel>
</rss>

