<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256306#M96995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={$(=Max(Year)-1)},MonthNo={"&amp;lt;=$(=Max(}MonthNo))"}&amp;gt;}IF(ISNULL(GI_Weight)=-1,0,GI_Weight))&lt;/P&gt;&lt;P&gt;may it helps you&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2011 11:20:49 GMT</pubDate>
    <dc:creator>rohit214</dc:creator>
    <dc:date>2011-10-18T11:20:49Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256305#M96994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;Year={$(=Max(Year)-1)},MonthNo={"&amp;lt;=$(=Max({&amp;lt;Year={$(=Max(Year))}&amp;gt;}MonthNo))"}&amp;gt;}IF(ISNULL(GI_Weight)=-1,0,GI_Weight))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this expresion to get previous year figure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bt it is taken max(MonthNo) which is 8 for all company.&lt;/P&gt;&lt;P&gt;Max(MonthNo) is different for different comapny in current yr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 420px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Comapany&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none;" width="98"&gt;2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none;" width="98"&gt;2010&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none;" width="126"&gt;max(MonthNo)-2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: medium none; border-left: medium none;"&gt;May&lt;/TD&gt;&lt;TD class="xl66" style="border-top: medium none; border-left: medium none;"&gt;Dec&lt;/TD&gt;&lt;TD class="xl66" style="border-top: medium none; border-left: medium none;"&gt;Aug&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: medium none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Feb&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Dec&lt;/TD&gt;&lt;TD class="xl66" style="border-top: medium none; border-left: medium none;"&gt;Aug&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: medium none;"&gt;C&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Jun&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Dec&lt;/TD&gt;&lt;TD class="xl66" style="border-top: medium none; border-left: medium none;"&gt;Aug&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: medium none;"&gt;D&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Aug&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl66" style="border-top: medium none; border-left: medium none;"&gt;Aug&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: medium none;"&gt;E&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Aug&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Feb&lt;/TD&gt;&lt;TD class="xl66" style="border-top: medium none; border-left: medium none;"&gt;Aug&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: medium none;"&gt;F&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Apr&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Mar&lt;/TD&gt;&lt;TD class="xl66" style="border-top: medium none; border-left: medium none;"&gt;Aug&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: medium none;"&gt;G&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Mar&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;Apr&lt;/TD&gt;&lt;TD class="xl66" style="border-top: medium none; border-left: medium none;"&gt;Aug&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Figure are showing upto Aug from Jan. Bt i want to show comapny wise max(MonthNo).&lt;/P&gt;&lt;P&gt;How can i do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 10:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256305#M96994</guid>
      <dc:creator />
      <dc:date>2011-10-18T10:55:33Z</dc:date>
    </item>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256306#M96995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={$(=Max(Year)-1)},MonthNo={"&amp;lt;=$(=Max(}MonthNo))"}&amp;gt;}IF(ISNULL(GI_Weight)=-1,0,GI_Weight))&lt;/P&gt;&lt;P&gt;may it helps you&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 11:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256306#M96995</guid>
      <dc:creator>rohit214</dc:creator>
      <dc:date>2011-10-18T11:20:49Z</dc:date>
    </item>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256307#M96996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei &lt;/P&gt;&lt;P&gt;you need to replace your set analysis part of the month to if statment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to understand that set analysis is making the selection outside the chart that means&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it look on all companies when calculating the max MonthNo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 11:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256307#M96996</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-10-18T11:23:03Z</dc:date>
    </item>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256308#M96997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This not working.......&lt;/P&gt;&lt;P&gt;pls give me a sugestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 12:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256308#M96997</guid>
      <dc:creator />
      <dc:date>2011-10-18T12:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256309#M96998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attaching one qvw file and one excell file.&lt;/P&gt;&lt;P&gt;It will help to understand my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me a solution. &lt;/P&gt;&lt;P&gt;Thanks in advamce.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2011 13:00:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/256309#M96998</guid>
      <dc:creator />
      <dc:date>2011-10-18T13:00:25Z</dc:date>
    </item>
  </channel>
</rss>

