<?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 Top and Bottom values in a single bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-and-Bottom-values-in-a-single-bar-chart/m-p/25180#M4155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to show top 2 and bottom 2 markets in a single bar chart and both should be shown in different colours. I tried to implement this using rank function and conditional expressions but i am facing issues when the markets have same values and the top and bottom values are same. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.) Is it a good idea to shown the top and bottom markets in a single chart? If no, do we have any alternatives.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.) How can we resolve this issue if i go ahead with the current implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are four expressions in my chart and 'Market' as a dimension.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; First expression checks if the possible count of market is &amp;gt;3 and the ranks the markets and displays only those whose rank is &amp;lt;=2&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Second &lt;SPAN style="font-size: 13.3333px;"&gt;expression checks if the possible count of market is &amp;gt;3 and the ranks the markets based on descending order and displays only those whose rank is&amp;nbsp;&amp;nbsp; &amp;lt;=2&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Third checks if the possible count is &amp;gt;1 and &amp;lt;4 and ranks and displays only top value&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Fourth &lt;SPAN style="font-size: 13.3333px;"&gt;checks if the possible count is &amp;gt;1 and &amp;lt;4 and ranks (des order) and displays only top value&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2018 09:07:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-14T09:07:31Z</dc:date>
    <item>
      <title>Top and Bottom values in a single bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Top-and-Bottom-values-in-a-single-bar-chart/m-p/25180#M4155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to show top 2 and bottom 2 markets in a single bar chart and both should be shown in different colours. I tried to implement this using rank function and conditional expressions but i am facing issues when the markets have same values and the top and bottom values are same. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.) Is it a good idea to shown the top and bottom markets in a single chart? If no, do we have any alternatives.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.) How can we resolve this issue if i go ahead with the current implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are four expressions in my chart and 'Market' as a dimension.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; First expression checks if the possible count of market is &amp;gt;3 and the ranks the markets and displays only those whose rank is &amp;lt;=2&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Second &lt;SPAN style="font-size: 13.3333px;"&gt;expression checks if the possible count of market is &amp;gt;3 and the ranks the markets based on descending order and displays only those whose rank is&amp;nbsp;&amp;nbsp; &amp;lt;=2&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Third checks if the possible count is &amp;gt;1 and &amp;lt;4 and ranks and displays only top value&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Fourth &lt;SPAN style="font-size: 13.3333px;"&gt;checks if the possible count is &amp;gt;1 and &amp;lt;4 and ranks (des order) and displays only top value&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 09:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-and-Bottom-values-in-a-single-bar-chart/m-p/25180#M4155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-14T09:07:31Z</dc:date>
    </item>
  </channel>
</rss>

