<?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: Smallest 3 in Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716569#M257607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I've applied this to my larger (application) data set, and it returns unexpected results. It does eliminate the NULL values, but the values displayed aren't correct. I'm still investigating...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2014 15:51:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-29T15:51:01Z</dc:date>
    <item>
      <title>Smallest 3 in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716563#M257601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. Please see attached. I have a bar chart of items and profit margins. My dimension limit is set to show the smallest 3 values (three lowest profit margins). But only one value appears. I know it has to do with my expression which calculates a percentage (1 - (sum(Sales) / sum(Margin)); some of the sales and margin values are zero. I tried some set analyses to filter them out, but I must be overlooking something. As a result, it seems to be applying placeholders for those items for which it can't calculate a profit margin. What's the most efficient way of ignoring these items? Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 18:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716563#M257601</guid>
      <dc:creator />
      <dc:date>2014-10-28T18:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Smallest 3 in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716564#M257602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For smallest 3 try Rank function some thing like below mention expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;if( Rank(1 - (Sum(Sales) / Sum(Margin))) &amp;lt;= 3,&amp;nbsp; 1 - (Sum(Sales) / Sum(Margin)) )&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:- And remove Dimension Limits settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 19:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716564#M257602</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-28T19:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Smallest 3 in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716565#M257603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You just see one value, because your 3 minors include X and Z equal to zero.&amp;nbsp; If you want to see in the graph go to the properties and in presentation tab unmark "Suppress Zero-Values" &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 19:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716565#M257603</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2014-10-28T19:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Smallest 3 in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716566#M257604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. But I do want to suppress them -- the issue is I don't want them included in the ranking at all. The next two "unsuppressed" values should appear in my chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 19:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716566#M257604</guid>
      <dc:creator />
      <dc:date>2014-10-28T19:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Smallest 3 in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716567#M257605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are Top 3 values to be display in the chart please let me know with the values, I suggest you have to use Rank function for this with this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;if( Rank(1 - (Sum(Sales) / Sum(Margin))) &amp;lt;= 3,&amp;nbsp; 1 - (Sum(Sales) / Sum(Margin)) )&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 19:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716567#M257605</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-28T19:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Smallest 3 in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716568#M257606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case you need to create an expression for that.&amp;nbsp; Remember that this dimension limits works over you data as is, for this case, reject zero values and evaluates the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the expresion above to suppress zero values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 19:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716568#M257606</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2014-10-28T19:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Smallest 3 in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716569#M257607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I've applied this to my larger (application) data set, and it returns unexpected results. It does eliminate the NULL values, but the values displayed aren't correct. I'm still investigating...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 15:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716569#M257607</guid>
      <dc:creator />
      <dc:date>2014-10-29T15:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Smallest 3 in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716570#M257608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached. That expression isn't working. I thought Rank() might take a parameter that sorted the values in descending order then took the top 5 (which would be the bottom 5), but that doesn't seem to be the case either. I simplified my example somewhat, and added more values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 18:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716570#M257608</guid>
      <dc:creator />
      <dc:date>2014-10-29T18:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Smallest 3 in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716571#M257609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" height="274" src="https://community.qlik.com/legacyfs/online/70014_1.png" style="width: 266px; height: 274.655097613883px;" width="266" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 19:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716571#M257609</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-10-29T19:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Smallest 3 in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716572#M257610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;A belated thank you for this. It does work, although it doesn't handle zero values very well. So in the case that my five lowest margins are -10%, -7%, -5%, -2% and 0%, it only shows the four non-zero values. Perhaps it has something to do with supressing zero values, but unchecking it didn't quite fix it. It's a rare enough occurrence with our data set that I might just live with it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 13:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Smallest-3-in-Dimension/m-p/716572#M257610</guid>
      <dc:creator />
      <dc:date>2014-11-05T13:48:20Z</dc:date>
    </item>
  </channel>
</rss>

