<?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: Top 3 Plan Names by Rank (Stright Table) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540778#M202106</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any one help me on this .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2013 04:22:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-19T04:22:44Z</dc:date>
    <item>
      <title>Top 3 Plan Names by Rank (Stright Table)</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540777#M202105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks, I want to show Top 3 Plans on each column like Top Plan 1, Top Plan 2 &amp;amp; Top Plan 3 in a straight Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below expressions to calculate the Top 3 Plans in the straight table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top Plan 1: CONCAT(IF(Aggr(Rank(Sum(TQTY)),PlanName)=1,PlanName))&lt;/P&gt;&lt;P&gt;Top Plan 2: CONCAT(IF(Aggr(Rank(Sum(TQTY)),PlanName)=2,PlanName))&lt;/P&gt;&lt;P&gt;Top Plan 3: CONCAT(IF(Aggr(Rank(Sum(TQTY)),PlanName)=3,PlanName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above expressions are not working properly? Is it possible can we do on the calculated dimension ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached files for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 03:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540777#M202105</guid>
      <dc:creator />
      <dc:date>2013-11-19T03:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 Plan Names by Rank (Stright Table)</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540778#M202106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any one help me on this .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 04:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540778#M202106</guid>
      <dc:creator />
      <dc:date>2013-11-19T04:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 Plan Names by Rank (Stright Table)</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540779#M202107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Help Needed!...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 13:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540779#M202107</guid>
      <dc:creator />
      <dc:date>2013-11-19T13:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Top 3 Plan Names by Rank (Stright Table)</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540780#M202108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check this attach file and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 13:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540780#M202108</guid>
      <dc:creator />
      <dc:date>2013-11-19T13:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 Plan Names by Rank (Stright Table)</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540781#M202109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want show Top Plan1, Top Plan2 , Top Paln3 as Columns in the table like below. The values should be changes based on the other selection like product id's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="589"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="64"&gt;TerrNo&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="101"&gt;Professional ID&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="169"&gt;Top Plan1&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="85"&gt;Top Plan2&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="170"&gt;Top Plan3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl67" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;39079&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;HNQYQC CGUROH DCQNH&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;VBWYMZVW&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;PCH ARDUU ZGUSV SFUML&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="21" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-top: none; border-left: none;"&gt;39079&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;HNQYQC CGUROH DCQNH&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;VBWYMZVW&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;PCH ARDUU ZGUSV SFUML&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540781#M202109</guid>
      <dc:creator />
      <dc:date>2013-11-19T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Top 3 Plan Names by Rank (Stright Table)</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540782#M202110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what it means for Plan Names to be the same, yet have different PlanId's. So I did the aggr's by PlanId instead of PlanName. But the table matches what u have for ID 39079.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 15:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540782#M202110</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-11-19T15:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 Plan Names by Rank (Stright Table)</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540783#M202111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why the Rank() function is not working ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we get this on calculated dimension ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 15:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540783#M202111</guid>
      <dc:creator />
      <dc:date>2013-11-19T15:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Top 3 Plan Names by Rank (Stright Table)</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540784#M202112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is the way to do it with rank, you needed to aggregate on TerrNo and Professional_Id as well (I also did PlanId instead of PlanName). Also, I switched the mode of rank for the second parameter to 4 to handle the ties (instead of it showing null).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for calculated dimensions, you cannot use the function concat since it is an aggregation function. Here is a snippet from Qlikview Help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Add calculated dimension...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Adds a new dimension and opens it for editing in the &lt;A class="MCXref_0"&gt;&lt;EM&gt;Edit Expression Dialog&lt;/EM&gt;&lt;/A&gt; dialog. A chart dimension is often in a single field, but can also be dynamically calculated. A calculated dimension consists of an expression involving one or more fields. All standard functions may be used. &lt;STRONG&gt;Aggregation functions may not be used&lt;/STRONG&gt;, but the &lt;A class="MCXref_0"&gt;&lt;EM&gt;Advanced Aggregation&lt;/EM&gt;&lt;/A&gt; function can be included for achieving nested aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you wanted to do it that route, you would have to do it through another way, maybe script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 16:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540784#M202112</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-11-19T16:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Top 3 Plan Names by Rank (Stright Table)</title>
      <link>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540785#M202113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need Top Plan 1, Top Plan 2, and Top Plan 3, all in one table? If you are in need of using calculated dimensions, you can separate out and use different tables for the 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just strip concat and use the formula for 1 as calculated dimension:&lt;/P&gt;&lt;P&gt;=IF(Aggr(Rank(Sum(TQTY),4),TerrNo, Professional_Id, PlanId)=1,PlanName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just can't have both Top Plan 1, Top Plan 2, and Top Plan 3 all in one table as calculated dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 17:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-3-Plan-Names-by-Rank-Stright-Table/m-p/540785#M202113</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2013-11-19T17:19:38Z</dc:date>
    </item>
  </channel>
</rss>

