<?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: How to show top N brands plus a specific brand (Using set analysis) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-top-N-brands-plus-a-specific-brand-Using-set/m-p/1599213#M737852</link>
    <description>&lt;P&gt;Hi, you can use something like this&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum ({&amp;lt;Brand = {"=Rank(Sum(Sales))&amp;lt;4"} + {X} &amp;gt;}Sales)&lt;/LI-CODE&gt;&lt;P&gt;and change the "4" by a variable&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2019 20:10:32 GMT</pubDate>
    <dc:creator>hectormunoz</dc:creator>
    <dc:date>2019-07-04T20:10:32Z</dc:date>
    <item>
      <title>How to show top N brands plus a specific brand (Using set analysis)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-N-brands-plus-a-specific-brand-Using-set/m-p/1599197#M737851</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I wanted to show top performing brands plus a specific brand (this brand should always be shown irrespective of performance).&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Brand&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/06/2018&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;321,947.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/06/2018&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;291,309.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/06/2018&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;217,505.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/06/2018&lt;/TD&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;187,026.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/06/2018&lt;/TD&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;84,763.7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/06/2018&lt;/TD&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;TD&gt;79,457.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/06/2018&lt;/TD&gt;&lt;TD&gt;G&lt;/TD&gt;&lt;TD&gt;60,125.7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/06/2018&lt;/TD&gt;&lt;TD&gt;H&lt;/TD&gt;&lt;TD&gt;44,367.7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01/06/2018&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;38,146.7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user would enter the Top N brands to display using the input box.&lt;/P&gt;&lt;P&gt;Let's say the Top brands that should be displayed in the chart is 4.&lt;/P&gt;&lt;P&gt;The expected output in the chart is A, B, C, X (The brand X should always be included in the chart)&lt;/P&gt;&lt;P&gt;When the top brands to be displayed in the chart is 5 then the output should be A, B, C, D, X&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me with the suggestions.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-N-brands-plus-a-specific-brand-Using-set/m-p/1599197#M737851</guid>
      <dc:creator>prasanthb123</dc:creator>
      <dc:date>2024-11-16T20:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to show top N brands plus a specific brand (Using set analysis)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-N-brands-plus-a-specific-brand-Using-set/m-p/1599213#M737852</link>
      <description>&lt;P&gt;Hi, you can use something like this&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum ({&amp;lt;Brand = {"=Rank(Sum(Sales))&amp;lt;4"} + {X} &amp;gt;}Sales)&lt;/LI-CODE&gt;&lt;P&gt;and change the "4" by a variable&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 20:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-N-brands-plus-a-specific-brand-Using-set/m-p/1599213#M737852</guid>
      <dc:creator>hectormunoz</dc:creator>
      <dc:date>2019-07-04T20:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to show top N brands plus a specific brand (Using set analysis)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-N-brands-plus-a-specific-brand-Using-set/m-p/1600292#M737853</link>
      <description>&lt;P&gt;Hi Hectormunoz,&lt;/P&gt;&lt;P&gt;Thanks for your quick help. The solution worked perfectly.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 09:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-N-brands-plus-a-specific-brand-Using-set/m-p/1600292#M737853</guid>
      <dc:creator>prasanthb123</dc:creator>
      <dc:date>2019-07-09T09:31:25Z</dc:date>
    </item>
  </channel>
</rss>

