<?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 Set Analysis -- LastYear/LastMonth in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-LastYear-LastMonth/m-p/294039#M109076</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; Use set analysis for this type of problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;Year={$(=Max(Year)-1)},Month={'$(=if(GetSelectedCount(Month)&amp;gt;0,Month(AddMonths(Max(Date),-1)),'*'))'}&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>Fri, 17 Feb 2012 10:41:43 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-02-17T10:41:43Z</dc:date>
    <item>
      <title>Set Analysis -- LastYear/LastMonth</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-LastYear-LastMonth/m-p/294037#M109074</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;I would like when I click on Year on my selection List Sum Qty for year = Year-1&amp;nbsp; and Month = Month(Max(Month)-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example : I clik on Year = 2012 [2011 -- NOV.] (selection list)&lt;/P&gt;&lt;P&gt;I obtain a calculation like : Sum (Qty) for {Year=2011;nov.} in dynamic.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 10:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-LastYear-LastMonth/m-p/294037#M109074</guid>
      <dc:creator />
      <dc:date>2012-02-17T10:36:45Z</dc:date>
    </item>
    <item>
      <title>Set Analysis -- LastYear/LastMonth</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-LastYear-LastMonth/m-p/294038#M109075</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;for the whole last year&amp;nbsp; use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"$(=max(Year)-1)"}, Month=&amp;gt;} Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for same month in last year use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"$(=max(Year)-1)"}&amp;gt;} Qty)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 10:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-LastYear-LastMonth/m-p/294038#M109075</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2012-02-17T10:40:52Z</dc:date>
    </item>
    <item>
      <title>Set Analysis -- LastYear/LastMonth</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-LastYear-LastMonth/m-p/294039#M109076</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; Use set analysis for this type of problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;Year={$(=Max(Year)-1)},Month={'$(=if(GetSelectedCount(Month)&amp;gt;0,Month(AddMonths(Max(Date),-1)),'*'))'}&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>Fri, 17 Feb 2012 10:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-LastYear-LastMonth/m-p/294039#M109076</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-17T10:41:43Z</dc:date>
    </item>
    <item>
      <title>Set Analysis -- LastYear/LastMonth</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-LastYear-LastMonth/m-p/294040#M109077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you. I'll test it !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 10:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-LastYear-LastMonth/m-p/294040#M109077</guid>
      <dc:creator />
      <dc:date>2012-02-17T10:56:48Z</dc:date>
    </item>
  </channel>
</rss>

