<?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 Rank function in straight table with multiple dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309965#M407292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need top 5 products in a row with ',' as separator which is having highest sales and also group by another dimension volume.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have used rank function but as table is having multiple dimensions in straight table i couldn't meet the requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the below expression.&lt;/P&gt;&lt;P&gt;=AGGR(IF(Rank(Sum&lt;SPAN style="font-size: 13.3333px;"&gt;(sales)&lt;/SPAN&gt;&amp;lt;=5,&lt;SPAN style="font-size: 13.3333px;"&gt;product&lt;/SPAN&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;product&lt;/SPAN&gt;),&lt;SPAN style="font-size: 13.3333px;"&gt;volume&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2017 10:32:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-30T10:32:33Z</dc:date>
    <item>
      <title>Rank function in straight table with multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309965#M407292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need top 5 products in a row with ',' as separator which is having highest sales and also group by another dimension volume.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have used rank function but as table is having multiple dimensions in straight table i couldn't meet the requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the below expression.&lt;/P&gt;&lt;P&gt;=AGGR(IF(Rank(Sum&lt;SPAN style="font-size: 13.3333px;"&gt;(sales)&lt;/SPAN&gt;&amp;lt;=5,&lt;SPAN style="font-size: 13.3333px;"&gt;product&lt;/SPAN&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;product&lt;/SPAN&gt;),&lt;SPAN style="font-size: 13.3333px;"&gt;volume&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309965#M407292</guid>
      <dc:creator />
      <dc:date>2017-03-30T10:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function in straight table with multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309966#M407293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share few lines of data and what the expected output needs to be from the sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309966#M407293</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T10:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function in straight table with multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309967#M407294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/216009"&gt;Merging data into single cell Pivot&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As in the above link, I need top 5 products with highest sales in the same way with ',' as separator&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 12:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309967#M407294</guid>
      <dc:creator />
      <dc:date>2017-03-30T12:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function in straight table with multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309968#M407295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand that part... I am not sure how your data looks like and what you mean when you say this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;table is having multiple dimensions in straight table&lt;/SPAN&gt;"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;having highest sales and also group by another dimension volume&lt;/SPAN&gt;"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping you can show how the data looks so that we can help you better &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 12:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309968#M407295</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T12:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function in straight table with multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309969#M407296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14px; font-family: Arial, sans-serif;"&gt;I need products that use the "volume"(any dimension).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 14px;"&gt;If there are more than 5 such &lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 14px;"&gt;products &lt;/SPAN&gt;, it will list only the 5 with the highest sales&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 12:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309969#M407296</guid>
      <dc:creator />
      <dc:date>2017-03-30T12:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function in straight table with multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309970#M407297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(DISTINCT Aggr(If(Rank(Sum(Sales)) &amp;lt; 6, Product), Product, Volume), ', ')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 12:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309970#M407297</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T12:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function in straight table with multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309971#M407298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;In the below expression for rank function&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;4 displays Lowest rank on first row, then incremented by one for each row.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works correct for the above requirement.&lt;/P&gt;&lt;P&gt;=Aggr(Concat(IF(Aggr(Rank(sum(sales), 4, 1),volume,Product) &amp;lt; 6, product), ', '),volume)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 11:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309971#M407298</guid>
      <dc:creator />
      <dc:date>2017-04-03T11:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function in straight table with multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309972#M407299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/159148"&gt;How to use rank function?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to this post for detailed information about rank function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 11:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309972#M407299</guid>
      <dc:creator />
      <dc:date>2017-04-03T11:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function in straight table with multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309973#M407300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand why you need the extra Aggr() function... this did not work?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Concat(IF(Aggr(Rank(sum(sales), 4, 1),volume,Product) &amp;lt; 6, product), ', ')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or what I provided?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concat(DISTINCT Aggr(If(Rank(Sum(Sales)) &amp;lt; 6, Product), Product, Volume), ', ')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 11:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-in-straight-table-with-multiple-dimensions/m-p/1309973#M407300</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-03T11:29:34Z</dc:date>
    </item>
  </channel>
</rss>

