<?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/772963#M665932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a year field and it contains the values from 2000 to 2010. I need set expression in such way that, i want to select previous 4 year information along with current selection. For example if i select 2004, i should get the the 2000, 2001, 2002 and 2003 information along with 2004.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Dec 2014 05:44:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-04T05:44:50Z</dc:date>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772963#M665932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a year field and it contains the values from 2000 to 2010. I need set expression in such way that, i want to select previous 4 year information along with current selection. For example if i select 2004, i should get the the 2000, 2001, 2002 and 2003 information along with 2004.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 05:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772963#M665932</guid>
      <dc:creator />
      <dc:date>2014-12-04T05:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772964#M665934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={"&amp;gt;$(=Max(Year)-4) &amp;lt;=$(=Max(Year))"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 05:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772964#M665934</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-04T05:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772965#M665936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Viresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year = {"$(=max(Year)-4)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 05:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772965#M665936</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-12-04T05:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772966#M665938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use a trigger that triggers a 'select in field action' to select the next 4 years as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look below and test the attached if you need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="72675" alt="Soltion.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/72675_Soltion.jpg" style="width: 620px; height: 326px;" /&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;create a variable v1=max(year)&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year={'=&amp;gt;(v1) &amp;lt;=(v1-4)'} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadeesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 06:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772966#M665938</guid>
      <dc:creator>jagadeesh_diamo</dc:creator>
      <dc:date>2014-12-04T06:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772967#M665940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;create a variable V1=MAX(Year)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;year={'=&amp;gt;(V1) &amp;lt;=(V1-4)'} QTY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 07:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772967#M665940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-04T07:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772968#M665942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viresh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached some documentation about Set analysis that i found on the forum. Maybe it will help you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 11:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/772968#M665942</guid>
      <dc:creator>avkeep01</dc:creator>
      <dc:date>2014-12-04T11:49:58Z</dc:date>
    </item>
  </channel>
</rss>

