<?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: Set Anlaysis to show 2 months position in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Anlaysis-to-show-2-months-position/m-p/413040#M485170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologize, I did not elaborate my question clearly.&lt;/P&gt;&lt;P&gt;Actually I have &lt;STRONG&gt;Year (2012, 2013)&lt;/STRONG&gt; and &lt;STRONG&gt;Month (Jan - Dec)&lt;/STRONG&gt; listboxes, my requirement is when I select lets say &lt;STRONG&gt;2013 &lt;/STRONG&gt;Year and &lt;STRONG&gt;Jan&lt;/STRONG&gt; Month, the straight table will show the Jan 2013 vs previos month position. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the set analysis as below&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=": ; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Jan 2013 =&lt;/P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) (However,it give the lump sum of all month snapshots instead of the selected Jan 2013 position only)&lt;/SPAN&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-family: 'Courier New'; color: black; font-size: 9pt;"&gt;Previous month =&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;$(=only(Year) - $(=if(only(Month) = 1, 1, 0)))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;$(=month(addmonths(MonthYear, -1)))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;OS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) (the previous month seem okay).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;What go wrong with the &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2013 01:57:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-02T01:57:51Z</dc:date>
    <item>
      <title>Set Anlaysis to show 2 months position</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Anlaysis-to-show-2-months-position/m-p/413038#M485168</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 several month snapshot data loaded and set analysis to show Mar 2013 and previous month, in this case is Feb 2013 when i selected Mar 2013 snapshot as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 912px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="50"&gt;Status&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="144"&gt;Mar 2013 =sum({$}OS)&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="86"&gt;=sum({$}OS)&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="344"&gt;Feb 2013 =&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(=only(Year) - $(=if(only(Month) = 1, 1, 0)))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="288"&gt;=sum({$&amp;lt;Year = {2013}, Month = {Feb}&amp;gt;} OS)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;PF&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;78,421,218,867&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;79.5%&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;5,107,813,445&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;80.9%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;Impaired&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;15,890,083,951&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;16.1%&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;921,083,290&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;14.6%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: medium none;"&gt;WL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;4,287,853,168&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4.3%&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;282,361,130&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;4.5%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: medium none;"&gt;98,599,155,985&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-left: medium none; border-top: medium none;"&gt;100.0%&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: medium none; border-top: medium none;"&gt;6,311,257,865&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-left: medium none; border-top: medium none;"&gt;100.0%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the Mar 2013 OS is wrong, I would think the set analysis should be okay, right? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Anyone could help.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 11:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Anlaysis-to-show-2-months-position/m-p/413038#M485168</guid>
      <dc:creator />
      <dc:date>2013-04-30T11:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Anlaysis to show 2 months position</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Anlaysis-to-show-2-months-position/m-p/413039#M485169</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;1) for Mar2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Year={$(=max(Year))},Month={'Mar'}&amp;gt;}OS)&amp;nbsp;&amp;nbsp;&amp;nbsp; or&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum({&amp;lt;Year={2013},Month={'Mar'}&amp;gt;}OS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want the current month then&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Year={$(=max(Year))},Month={Month(Today())}&amp;gt;}OS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)for Feb2013&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Year={$(=max(Year))},Month={'Feb'}&amp;gt;}OS)&amp;nbsp; or&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =sum({&amp;lt;Year={2013},Month={'Feb'}&amp;gt;}OS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want the current month then&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Year={$(=max(Year))},Month={$(=Month(Today()-1))}&amp;gt;}OS)&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;Narender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 12:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Anlaysis-to-show-2-months-position/m-p/413039#M485169</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-04-30T12:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Anlaysis to show 2 months position</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Anlaysis-to-show-2-months-position/m-p/413040#M485170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologize, I did not elaborate my question clearly.&lt;/P&gt;&lt;P&gt;Actually I have &lt;STRONG&gt;Year (2012, 2013)&lt;/STRONG&gt; and &lt;STRONG&gt;Month (Jan - Dec)&lt;/STRONG&gt; listboxes, my requirement is when I select lets say &lt;STRONG&gt;2013 &lt;/STRONG&gt;Year and &lt;STRONG&gt;Jan&lt;/STRONG&gt; Month, the straight table will show the Jan 2013 vs previos month position. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the set analysis as below&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=": ; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Jan 2013 =&lt;/P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) (However,it give the lump sum of all month snapshots instead of the selected Jan 2013 position only)&lt;/SPAN&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-family: 'Courier New'; color: black; font-size: 9pt;"&gt;Previous month =&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;$(=only(Year) - $(=if(only(Month) = 1, 1, 0)))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;$(=month(addmonths(MonthYear, -1)))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;OS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) (the previous month seem okay).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;What go wrong with the &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;OS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 01:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Anlaysis-to-show-2-months-position/m-p/413040#M485170</guid>
      <dc:creator />
      <dc:date>2013-05-02T01:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Anlaysis to show 2 months position</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Anlaysis-to-show-2-months-position/m-p/413041#M485171</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;It makes easy to apply calendar related functions with Date rather than discrete year, month. Thus you may create a Date field with help of existing Year and Month fields. Hope attached file could help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Som&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 04:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Anlaysis-to-show-2-months-position/m-p/413041#M485171</guid>
      <dc:creator>somenathroy</dc:creator>
      <dc:date>2013-05-02T04:08:28Z</dc:date>
    </item>
  </channel>
</rss>

