<?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: Chart Display - Top 5 *and* only positive values? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715405#M1052910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you have an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you need only positive values use function fabs()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 20:12:26 GMT</pubDate>
    <dc:creator>ecolomer</dc:creator>
    <dc:date>2014-10-28T20:12:26Z</dc:date>
    <item>
      <title>Graph Display - Top 5 *and* only positive values?</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715404#M1052909</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;I have some graphs where I would only like to display positive values, and only show the top 5 values.&amp;nbsp; I know you can do each of these individually in Dimension Limits, but how do you do both at once?&amp;nbsp; I tried Set analysis for expressions, but couldn't figure out the syntax to only include values greater than 0.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 19:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715404#M1052909</guid>
      <dc:creator />
      <dc:date>2014-10-28T19:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Display - Top 5 *and* only positive values?</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715405#M1052910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you have an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you need only positive values use function fabs()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 20:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715405#M1052910</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-10-28T20:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Display - Top 5 *and* only positive values?</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715406#M1052911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My apologies - the title said chart, but I'm actually referencing a graph (sand chart).&amp;nbsp; Because there are a lot of values to show, we want to limit the number of graphed segments to 5.&amp;nbsp; Unfortunately, some of the data behind these segments is negative.&amp;nbsp; From a data perspective, this is correct, and we do not want the absolute value of the function.&amp;nbsp; We just don't want the negative values to be factored in to the sand chart because QlikView's graphing capabilities freak out and draw very weird shapes when there are negative values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 20:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715406#M1052911</guid>
      <dc:creator />
      <dc:date>2014-10-28T20:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Display - Top 5 *and* only positive values?</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715407#M1052912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can also select the number or values with limitation of values of expression sorting descending and limit to 5 max values &lt;/P&gt;&lt;P&gt;Is this a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 20:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715407#M1052912</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-10-28T20:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Graph Display - Top 5 *and* only positive values?</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715408#M1052913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 20:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715408#M1052913</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-10-28T20:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Graph Display - Top 5 *and* only positive values?</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715409#M1052914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enrique - the set analysis answer seems to have worked the best.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 20:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715409#M1052914</guid>
      <dc:creator />
      <dc:date>2014-10-28T20:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Display - Top 5 *and* only positive values?</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715410#M1052915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/643624"&gt;Graph Display - Top 5 *and* only positive values?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;we can use Rank() function ,get the Top 5 Values and&amp;nbsp; we can use RangeMax() function (or) set analysis we can get only Positive value.&lt;/P&gt;&lt;P&gt;ex: load * Inline [&lt;/P&gt;&lt;P&gt;Country,City,Product,Salesperson,Sales&lt;/P&gt;&lt;P&gt;USA,xxxx,Clothes,Joe,54900&lt;/P&gt;&lt;P&gt;UK,yyyy,Drugs,rajah,45000&lt;/P&gt;&lt;P&gt;India,zzzz,Plastic,Maya,48900&lt;/P&gt;&lt;P&gt;Pak,eeee,cots,ram,78900&lt;/P&gt;&lt;P&gt;newgeland,rrrrr,woods,jhon,90000&lt;/P&gt;&lt;P&gt;apgan,llll,stell,boby,56000&lt;/P&gt;&lt;P&gt;westindians,ffff,beds,kumar,-43900];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above table i want top&amp;nbsp; 5 sales persons&lt;/P&gt;&lt;P&gt;=if(aggr(rank(sum(Sales),Product,Salesperson)&amp;lt;=4,Salesperson)&lt;/P&gt;&lt;P&gt;In Bar Chart,I want only display positive values&lt;/P&gt;&lt;P&gt;RangeMax(Sum(Sales),0)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Country={"=Aggr(sum(Sales),Country)&amp;gt;=0"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 05:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Display-Top-5-and-only-positive-values/m-p/715410#M1052915</guid>
      <dc:creator />
      <dc:date>2014-10-29T05:15:35Z</dc:date>
    </item>
  </channel>
</rss>

