<?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 Comparison in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparison/m-p/183942#M49017</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;I have a problem i am trying to solve.&lt;/P&gt;&lt;P&gt;I would want to create an analysis to show the movement of status from month to month.&lt;/P&gt;&lt;P&gt;Example, when i select March, the expression will compare:&lt;/P&gt;&lt;P&gt;(P-&amp;gt;N MOVEMENT)= (current selection's month, status = N) compared with (current selection month-1, status = P) then sum(outstanding_balance).&lt;/P&gt;&lt;P&gt;same goes for tracking movement from those status which is N moving to P in the current month N-&amp;gt;P Movement.&lt;/P&gt;&lt;P&gt;In set analysis, how do i combine a set selection with a condition inside like above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Mar 2011 09:24:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-28T09:24:49Z</dc:date>
    <item>
      <title>Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparison/m-p/183942#M49017</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;I have a problem i am trying to solve.&lt;/P&gt;&lt;P&gt;I would want to create an analysis to show the movement of status from month to month.&lt;/P&gt;&lt;P&gt;Example, when i select March, the expression will compare:&lt;/P&gt;&lt;P&gt;(P-&amp;gt;N MOVEMENT)= (current selection's month, status = N) compared with (current selection month-1, status = P) then sum(outstanding_balance).&lt;/P&gt;&lt;P&gt;same goes for tracking movement from those status which is N moving to P in the current month N-&amp;gt;P Movement.&lt;/P&gt;&lt;P&gt;In set analysis, how do i combine a set selection with a condition inside like above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 09:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparison/m-p/183942#M49017</guid>
      <dc:creator />
      <dc:date>2011-03-28T09:24:49Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparison/m-p/183943#M49018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Johnny,&lt;/P&gt;&lt;P&gt;See if this info is helpful:&lt;/P&gt;&lt;P&gt;Selected Month with status N:&lt;BR /&gt;sum({$&amp;lt;status={'N'}&amp;gt;} outstanding_balance)&lt;/P&gt;&lt;P&gt;Selected Month with status P:&lt;BR /&gt;sum({$&amp;lt;status={'P'}&amp;gt;} outstanding_balance)&lt;/P&gt;&lt;P&gt;Prev with status N:&lt;BR /&gt;sum({$&amp;lt;Month={"S(=&lt;EM&gt;formula for prev month&lt;/EM&gt;)"}, status={'N'}&amp;gt;} outstanding_balance)&lt;/P&gt;&lt;P&gt;Prev with status P:&lt;BR /&gt;sum({$&amp;lt;Month={"S(=&lt;EM&gt;formula for prev month&lt;/EM&gt;)"}, status={'P'}&amp;gt;} outstanding_balance)&lt;/P&gt;&lt;P&gt;What is the "&lt;EM&gt;formula for prev month&lt;/EM&gt;" in your case, I can't tell for sure - it depends on how you define Month in your data. For example, if month is defined as monthstart(Date), then the previous month will be monthstart(Date,-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 15:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Comparison/m-p/183943#M49018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-28T15:17:21Z</dc:date>
    </item>
  </channel>
</rss>

