<?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: Creat Table Chart with Top 3 in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193320#M519124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with an expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(Aggr(If(Rank(Sum(Sales), 4, 1) &amp;lt;= 3, Subgroup), Group, Subgroup), ' - ')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/141928_Capture.PNG" style="height: 129px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Oct 2016 21:21:07 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-25T21:21:07Z</dc:date>
    <item>
      <title>Creat Table Chart with Top 3 in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193319#M519123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to create a table chart and I don't know if it's possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's suppose I have the following data:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DATA.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/141918_DATA.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a chart where I can watch in a column the Sum Sales (No problem on this).&lt;BR /&gt;In other column some kind of top 3, showing which Subgroup have higher sales. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/141919_Chart.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I try to use the rank function &lt;SPAN class="short_text" lang="en"&gt;but without much success, anybody can send me a clue??&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 20:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193319#M519123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-25T20:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creat Table Chart with Top 3 in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193320#M519124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with an expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(Aggr(If(Rank(Sum(Sales), 4, 1) &amp;lt;= 3, Subgroup), Group, Subgroup), ' - ')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/141928_Capture.PNG" style="height: 129px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 21:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193320#M519124</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-25T21:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creat Table Chart with Top 3 in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193321#M519125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this if you want to sort in the order of their rank instead of alphabetical order:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(Aggr(If(Rank(Sum(Sales), 4, 1) &amp;lt;= 3, Subgroup), Group, Subgroup), ' - ', Aggr(Rank(Sum(Sales), 4, 1), Group, Subgroup))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 21:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193321#M519125</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-25T21:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creat Table Chart with Top 3 in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193322#M519126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny T, this seems to be working!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 20:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193322#M519126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-26T20:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creat Table Chart with Top 3 in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193323#M519127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny T,&lt;/P&gt;&lt;P&gt;I am new to QV so please pardon my silly follow up question, I am going through the below expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concat(Aggr(If(Rank(Sum(Sales), 4, 1) &amp;lt;= 3, Subgroup), Group, Subgroup), ' - ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wherein i am not able understand how the value is populated, If i break it and run it till the last step its just a '-' but as soon as concat is added all the code falls in place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me understand the above expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2016 19:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193323#M519127</guid>
      <dc:creator />
      <dc:date>2016-10-30T19:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creat Table Chart with Top 3 in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193324#M519128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concat is an aggregate function which combines multiple values into one row (just like Sum adds up multiple values to show the total of all those rows). So if you use it without Concat, how would QlikView know what you are trying to do? Are you looking to sum them, avg them, MinString them, MaxString them (Remember there is more than one value). But as soon as you add Concat, qlikview know that you want to show them next to each other with ' - ' separating each of the rows value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the above make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 20:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creat-Table-Chart-with-Top-3-in-expression/m-p/1193324#M519128</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-31T20:47:40Z</dc:date>
    </item>
  </channel>
</rss>

