<?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 Aet Analysis Aggrigation Expression - Please assist create sum of previous periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302575#M111916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Iyyappan, the set date variable is working good but&lt;/P&gt;&lt;P&gt;the calculation is not correct, for example : If I select Jan-2012&lt;/P&gt;&lt;P&gt;I expect to see 0 since there was no Qty in Oct-Dec-2011.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2012 11:41:35 GMT</pubDate>
    <dc:creator>orital81</dc:creator>
    <dc:date>2012-02-21T11:41:35Z</dc:date>
    <item>
      <title>Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302572#M111913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I am trying to create a calculation that will show me last 3 months Qty.&lt;/P&gt;&lt;P&gt;The complex issue here is: I need to sum Qty of 3 month back from the &lt;STRONG&gt;selection &lt;/STRONG&gt;Year months&lt;/P&gt;&lt;P&gt;(If no selection is made then Today will be the date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached my qvw File&lt;/P&gt;&lt;P&gt;Note: The period selection could be from either 2 sources : YM field from the table and the Year / Month selection fields on top&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ori&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 10:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302572#M111913</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2012-02-21T10:04:18Z</dc:date>
    </item>
    <item>
      <title>Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302573#M111914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try with this expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;DateField={"&amp;gt;=$(=MonthStart(NumMin(Max(DateField),Today()),-3))&amp;lt;=$(=MonthEnd(NumMin(Max(DateField),Today()),-3))"},Year=,Month=,YearMonth=&amp;gt;} Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 10:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302573#M111914</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-21T10:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302574#M111915</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i attached sample Qv file . Hope its helpful for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Iyyappan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 10:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302574#M111915</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2012-02-21T10:32:19Z</dc:date>
    </item>
    <item>
      <title>Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302575#M111916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Iyyappan, the set date variable is working good but&lt;/P&gt;&lt;P&gt;the calculation is not correct, for example : If I select Jan-2012&lt;/P&gt;&lt;P&gt;I expect to see 0 since there was no Qty in Oct-Dec-2011.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 11:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302575#M111916</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2012-02-21T11:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302576#M111917</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I Changed the expression in latest 3 months in attached file. Hope its helpful&amp;nbsp; for u .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Iyyappan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 11:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302576#M111917</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2012-02-21T11:55:06Z</dc:date>
    </item>
    <item>
      <title>Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302577#M111918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Still&amp;nbsp; Jan-2012 shows Qty while&lt;/P&gt;&lt;P&gt;I expect to see 0 since there was no Qty in Oct-Dec-2011.&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 11:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302577#M111918</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2012-02-21T11:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302578#M111919</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just use Latest 3 months expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year=,Month=,YearMonth=,SetDate={'&amp;gt;=$(=(Num(MonthStart(AddMonths(SetDate,-3)))))&amp;lt;=$(=(Num(MonthEnd(AddMonths(SetDate,-1)))))'}&amp;gt;}TransQty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Iyyappan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 12:00:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302578#M111919</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2012-02-21T12:00:25Z</dc:date>
    </item>
    <item>
      <title>Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302579#M111920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; That didn't help... )-:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 12:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302579#M111920</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2012-02-21T12:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302580#M111921</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;&lt;/P&gt;&lt;P&gt;check the attach file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is working for on month year value or should it work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it a start&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 12:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302580#M111921</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2012-02-21T12:15:10Z</dc:date>
    </item>
    <item>
      <title>Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302581#M111922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liron&lt;/P&gt;&lt;P&gt;The solution looks good though it has an issue:&lt;/P&gt;&lt;P&gt;We have 0 Qty in May-2011, therefore the calculation will show 0 in last 3 months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When removing the condition If(Column(1)&amp;gt;0 ...) then it works.&lt;/P&gt;&lt;P&gt;Please clarify : What is the reason for this condition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 13:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302581#M111922</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2012-02-21T13:03:29Z</dc:date>
    </item>
    <item>
      <title>Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302582#M111923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; because you have YM as a dimension if you remove the condition and select YM=2011-05&lt;/P&gt;&lt;P&gt;the table will show YM - 2011-02 to 2011-05 because of the set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to verify it shows only the selected YM you need a condition&amp;nbsp; before the set analysis expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 13:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302582#M111923</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2012-02-21T13:08:39Z</dc:date>
    </item>
    <item>
      <title>Aet Analysis Aggrigation Expression - Please assist create sum of previous periods</title>
      <link>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302583#M111924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I understand, Thanks for your correct and accurate answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 13:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aet-Analysis-Aggrigation-Expression-Please-assist-create-sum-of/m-p/302583#M111924</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2012-02-21T13:12:41Z</dc:date>
    </item>
  </channel>
</rss>

