<?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: help with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-with-set-analysis/m-p/1174671#M381422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow this &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2016 04:38:27 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2016-06-13T04:38:27Z</dc:date>
    <item>
      <title>help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-set-analysis/m-p/1174669#M381420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I have a requirement , if user selects lets say 3 months&amp;nbsp; , expression should compare sales with prev 3 months&amp;nbsp; and display the output with up or down image depending on if sales r going up or down. as per my understanding&amp;nbsp; we should first get current selection result in variable and then compare it with previous selection . I'm somehow not able to put my logic in set analysis . any help would be helpful!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;vCurrentSelection=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;Date = '$(vFromMonth)'&amp;gt;} and {$&amp;lt;Date = '$(vToMonth)'&amp;gt;}sum(sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 03:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-set-analysis/m-p/1174669#M381420</guid>
      <dc:creator>arusanah</dc:creator>
      <dc:date>2016-06-13T03:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-set-analysis/m-p/1174670#M381421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may do it with three expressions, first expression is simple Sum(Sales) based on current selection, second expression to find sum for previous quarter - &lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date = {"&amp;gt;=MonthStart(Date(YourDate,yourdateformat),-6)&amp;lt;=&lt;SPAN style="font-size: 13.3333px;"&gt;MonthEnd(Date(YourDate,yourdateformat),-3)"}&amp;gt;}) (you may need to correct the syntax here)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Third expression can show image based on values of first two expressions. You can use labels of first two expressions in third one to compare values using simple if statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 04:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-set-analysis/m-p/1174670#M381421</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-06-13T04:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-set-analysis/m-p/1174671#M381422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow this &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 04:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-set-analysis/m-p/1174671#M381422</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2016-06-13T04:38:27Z</dc:date>
    </item>
  </channel>
</rss>

