<?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 analysis Year-1 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395340#M818984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=count( {$&amp;lt;year={$(=&lt;STRONG&gt;Max(year)-1)&lt;/STRONG&gt;}&amp;gt;} distinct if(aggr(sum({$&amp;lt;year={$(=&lt;STRONG&gt;Max(year)-1)&lt;/STRONG&gt;}&amp;gt;} sales),salesman,id_customer,year)&amp;gt;0,id_customer))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Img4.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174875_Img4.PNG" style="height: 196px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2017 14:36:43 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2017-08-28T14:36:43Z</dc:date>
    <item>
      <title>Set analysis Year-1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395337#M818981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to get the number of customers (see expression) for the year before the selected one&lt;/P&gt;&lt;P&gt;I tried some set analysis&amp;nbsp; but results is always 0 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2015 : 3&lt;/P&gt;&lt;P&gt;2016 : 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for your help !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395337#M818981</guid>
      <dc:creator>maxime66</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Year-1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395338#M818982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({$&amp;lt;year = {$(=year-1)}&amp;gt;} DISTINCT If(Aggr(Sum({$&amp;lt;year={$(=year-1)}&amp;gt;}sales), salesman, id_customer, year) &amp;gt; 0, id_customer))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="174867" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174867_Capture.PNG" style="height: 185px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 14:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395338#M818982</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-28T14:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Year-1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395339#M818983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnaks sunny !! perfect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 14:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395339#M818983</guid>
      <dc:creator>maxime66</dc:creator>
      <dc:date>2017-08-28T14:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Year-1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395340#M818984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=count( {$&amp;lt;year={$(=&lt;STRONG&gt;Max(year)-1)&lt;/STRONG&gt;}&amp;gt;} distinct if(aggr(sum({$&amp;lt;year={$(=&lt;STRONG&gt;Max(year)-1)&lt;/STRONG&gt;}&amp;gt;} sales),salesman,id_customer,year)&amp;gt;0,id_customer))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Img4.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174875_Img4.PNG" style="height: 196px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 14:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395340#M818984</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-08-28T14:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Year-1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395341#M818985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you not click on the Year field you did not get any thing on the chart you need dynamically change in expression then use Max in the Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=count( {$&amp;lt;year={$(=&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Max(year)-1)&lt;/STRONG&gt;}&amp;gt;} distinct if(aggr(sum({$&amp;lt;year={$(=&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Max(year)-1)&lt;/STRONG&gt;}&amp;gt;} sales),salesman,id_customer,year)&amp;gt;0,id_customer))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 14:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Year-1/m-p/1395341#M818985</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-08-28T14:38:05Z</dc:date>
    </item>
  </channel>
</rss>

