<?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 needed on set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393051#M814612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about trying something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Product = {"=Sum({1&amp;lt;Year = {$(&lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=Year(Today())&lt;/SPAN&gt;)}&amp;gt;} Sales) &amp;gt; 0 and Sum({1&amp;lt;Year = {$(&lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;Year(Today()) - 1)}&amp;gt;} Sales) &amp;gt; 0"}&amp;gt;} Sales) = 0, 100000000, &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Product = {"=Sum({1&amp;lt;Year = {$(&lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=Year(Today())&lt;/SPAN&gt;)}&amp;gt;} Sales) &amp;gt; 0 and Sum({1&amp;lt;Year = {$(&lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;Year(Today()) - 1)}&amp;gt;} Sales) &amp;gt; 0"}&amp;gt;} Sales))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then try the inbuilt function... problem is that, in the eyes of Qlik, 0 is part of the bottom 5 products that you are looking for... may be force the 0's to be very large compared to other values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 18:50:31 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-09-11T18:50:31Z</dc:date>
    <item>
      <title>Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393033#M814582</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;Hope everyone is doing great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need small help in indirect set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calculating current year Sales for products which got sales both lat year and this year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried this using set analysis as given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Sales= p({&amp;lt;Sales= {"=Sum({1&amp;lt;Year={$(=Max(Year))}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;Sales&lt;/SPAN&gt;)&amp;gt;0"}&amp;gt;})*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;p({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sales&lt;/SPAN&gt;= {"=Sum({1&amp;lt;Year={$(=Max(Year)-1)}&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;Sales&lt;/SPAN&gt;)&amp;gt;0"}&amp;gt;})&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;Sales&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;but the above expression calculating sales for all the products irrespective of the P() condition.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can someone throw some light around the issue here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nani&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/Help-needed-on-set-analysis/m-p/1393033#M814582</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393034#M814583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nani,&lt;/P&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Product= p({&amp;lt;Product= {"=Sum({1&amp;lt;Year={$(=Max(Year))}&amp;gt;}&lt;SPAN style="font-size: 13.33px;"&gt;Sales&lt;/SPAN&gt;)&amp;gt;0"}&amp;gt;})*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;p({&amp;lt;&lt;SPAN style="font-size: 13.33px;"&gt;Product&lt;/SPAN&gt;= {"=Sum({1&amp;lt;Year={$(=Max(Year)-1)}&amp;gt;}&lt;SPAN style="font-size: 13.33px;"&gt;Sales&lt;/SPAN&gt;)&amp;gt;0"}&amp;gt;})&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;gt;}&lt;SPAN style="font-size: 13.33px;"&gt;Sales&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393034#M814583</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-09-11T15:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393035#M814584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be just this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Product = {"=Sum({1&amp;lt;Year = {$(=Max(Year))}&amp;gt;} Sales) &amp;gt; 0 and Sum({1&amp;lt;Year = {$(=Max(Year) - 1)}&amp;gt;} Sales) &amp;gt; 0"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393035#M814584</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T15:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393036#M814585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nani,&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;ProdID = p({&amp;lt;Year = {$(=max(Year))}&amp;gt;})&amp;gt;*&amp;lt;ProdID = p({&amp;lt;Year = {$(=-1+max(Year))}&amp;gt;})&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where &lt;SPAN style="font-size: 13.3333px;"&gt;ProdID identifies products.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393036#M814585</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-09-11T15:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393037#M814586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for the responses. I am trying everyone's solutions. will update everyone once i got the right solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 16:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393037#M814586</guid>
      <dc:creator />
      <dc:date>2017-09-11T16:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393038#M814587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/antoniotiman"&gt;antoniotiman&lt;/A&gt;‌&lt;/STRONG&gt; and @&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/stalwar1"&gt;stalwar1&lt;/A&gt;&lt;/STRONG&gt; both your answers are giving same result but still i am getting some products in my bar chart which dont' have sales either last year and this year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am trying to understand if i miss anything here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393038#M814587</guid>
      <dc:creator />
      <dc:date>2017-09-11T17:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393039#M814589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say this year? do you mean the selected year and last from the selected year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393039#M814589</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T17:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393040#M814591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No i don't have any year filter.This year means current year irrespective of any selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393040#M814591</guid>
      <dc:creator />
      <dc:date>2017-09-11T17:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393041#M814593</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Product = {"=Sum({1&amp;lt;Year = {$(&lt;SPAN style="color: #ff0000;"&gt;=Year(Today())&lt;/SPAN&gt;)}&amp;gt;} Sales) &amp;gt; 0 and Sum({1&amp;lt;Year = {$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year(Today())&lt;/STRONG&gt; - 1)}&amp;gt;} Sales) &amp;gt; 0"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393041#M814593</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T17:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393042#M814596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still same results getting few products which doesn't have sales.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 17:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393042#M814596</guid>
      <dc:creator />
      <dc:date>2017-09-11T17:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393043#M814598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new object like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;Product&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({1&amp;lt;Year = {$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=Year(Today())&lt;/SPAN&gt;)}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({1&amp;lt;Year = {$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; color: #ff0000;"&gt;Year(Today())&lt;/STRONG&gt; - 1)}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can see all the products which either have sales in current year or previous year....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on your requirement, it seems that you need only those where we have both current year and previous year sales available... is this true? If this is true... if you export your table to excel and filter for only those products where both the expressions are greater than 0, then you will get the list of products which should be included.... do you see any issues with this list?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393043#M814598</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T18:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393044#M814599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,your understanding is correct. i have done this kind of testing and i am getting all the products which i want see in the chart,but i am also getting the products which doesn't satisfies the condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393044#M814599</guid>
      <dc:creator />
      <dc:date>2017-09-11T18:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393045#M814601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the chart itself? or in your final expression? Do you have a sample you can share to show the issue or images or something that might point us to the issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393045#M814601</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T18:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393046#M814604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below are the two charts. chart 1 contains this year and last year sales for the products which are causing the problem.&lt;/P&gt;&lt;P&gt;Chart 2 is with the solution that you have provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 1:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chart1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176156_chart1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Chart 2:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chart2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/176157_chart2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above screenshots will give you some idea about the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393046#M814604</guid>
      <dc:creator />
      <dc:date>2017-09-11T18:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393047#M814605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh so they are just showing up with 0 value? You just want the sales with 0 to go away? Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under chart properties -&amp;gt; Add-ons -&amp;gt; Data handling -&amp;gt; Uncheck 'Include zero values'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should remove all those products where sales is 0 from this chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393047#M814605</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T18:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393048#M814607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. But the issue is i have to display bottom 5 products. if i does that then the chart is not displaying any product as i have excluded 0.i have used dimension limitation feature to display bottom 5 products.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393048#M814607</guid>
      <dc:creator />
      <dc:date>2017-09-11T18:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393049#M814609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So now you are mentioning about the bottom 5 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.... instead of inbuilt Qlik Sense option to display bottom 5, try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Rank(-Sum({&amp;lt;Product = {"=Sum({1&amp;lt;Year = {$(=Year(Today()))}&amp;gt;} Sales) &amp;gt; 0 and Sum({1&amp;lt;Year = {$(=Year(Today()) - 1)}&amp;gt;} Sales) &amp;gt; 0"}&amp;gt;} Sales)) &amp;lt; 6, Sum({&amp;lt;Product = {"=Sum({1&amp;lt;Year = {$(=Year(Today()))}&amp;gt;} Sales) &amp;gt; 0 and Sum({1&amp;lt;Year = {$(=Year(Today()) - 1)}&amp;gt;} Sales) &amp;gt; 0"}&amp;gt;} Sales))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393049#M814609</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T18:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393050#M814610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for that. but i have done this already and getting the required results. but due to the large volume of data i am trying to use the inbuilt function by writing set analysis to display bottom 5 products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way that i can achieve this using the inbuilt functionality?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393050#M814610</guid>
      <dc:creator />
      <dc:date>2017-09-11T18:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393051#M814612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about trying something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Product = {"=Sum({1&amp;lt;Year = {$(&lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=Year(Today())&lt;/SPAN&gt;)}&amp;gt;} Sales) &amp;gt; 0 and Sum({1&amp;lt;Year = {$(&lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;Year(Today()) - 1)}&amp;gt;} Sales) &amp;gt; 0"}&amp;gt;} Sales) = 0, 100000000, &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Product = {"=Sum({1&amp;lt;Year = {$(&lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=Year(Today())&lt;/SPAN&gt;)}&amp;gt;} Sales) &amp;gt; 0 and Sum({1&amp;lt;Year = {$(&lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;Year(Today()) - 1)}&amp;gt;} Sales) &amp;gt; 0"}&amp;gt;} Sales))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then try the inbuilt function... problem is that, in the eyes of Qlik, 0 is part of the bottom 5 products that you are looking for... may be force the 0's to be very large compared to other values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393051#M814612</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-11T18:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393052#M814615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. i will try this solution tomorrow as i came out from my office and will let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sunny .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-on-set-analysis/m-p/1393052#M814615</guid>
      <dc:creator />
      <dc:date>2017-09-11T18:53:05Z</dc:date>
    </item>
  </channel>
</rss>

