<?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: Rank function with multiple dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-function-with-multiple-dimension/m-p/1758640#M720056</link>
    <description>&lt;P&gt;Found the following Design Blog post that may help, geared to Sense, but should be applicable here too:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Rank-Function/ba-p/1466430" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Rank-Function/ba-p/1466430&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 20:58:43 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-11-04T20:58:43Z</dc:date>
    <item>
      <title>Rank function with multiple dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-with-multiple-dimension/m-p/1755724#M720054</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to add the rank function to the stacked charts.&lt;/P&gt;&lt;P&gt;I have two dimensions in my chart:&lt;/P&gt;&lt;P&gt;1) id&lt;/P&gt;&lt;P&gt;2) defect type&lt;/P&gt;&lt;P&gt;In expression number of defects is calculated.&lt;/P&gt;&lt;P&gt;Unfortunatelly the aggr rank function which I used, give me the same results as the rank funtion.&lt;/P&gt;&lt;P&gt;Rank(defect):&amp;nbsp;&lt;/P&gt;&lt;P&gt;rank((count({&amp;lt;counter={'1'}&amp;gt;}&lt;BR /&gt;Total &amp;lt;id&amp;gt; distinct(level))), 0, 1)&lt;/P&gt;&lt;P&gt;The output is :&lt;/P&gt;&lt;P&gt;id&amp;nbsp; &amp;nbsp; defect type&amp;nbsp; &amp;nbsp; rank(defect)&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;I found in the community that for ranking multiple dimensions aggr function is used.&lt;/P&gt;&lt;P&gt;So I tried:&lt;/P&gt;&lt;P&gt;aggr(rank(defect), id, [defect type])&lt;/P&gt;&lt;P&gt;But I get the same results&amp;nbsp;&lt;/P&gt;&lt;P&gt;id&amp;nbsp; &amp;nbsp; defect type&amp;nbsp; &amp;nbsp; raggr(ank(defect), id,&amp;nbsp;[defect type])&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;What I'm doing wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-with-multiple-dimension/m-p/1755724#M720054</guid>
      <dc:creator>kah</dc:creator>
      <dc:date>2024-11-15T23:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function with multiple dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-with-multiple-dimension/m-p/1756019#M720055</link>
      <description>&lt;P&gt;Is it possible that they all have the same Defect result?&amp;nbsp; QV will rank same results as the same rank number.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 17:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-with-multiple-dimension/m-p/1756019#M720055</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-10-26T17:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function with multiple dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-with-multiple-dimension/m-p/1758640#M720056</link>
      <description>&lt;P&gt;Found the following Design Blog post that may help, geared to Sense, but should be applicable here too:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Rank-Function/ba-p/1466430" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Rank-Function/ba-p/1466430&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 20:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-with-multiple-dimension/m-p/1758640#M720056</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-11-04T20:58:43Z</dc:date>
    </item>
  </channel>
</rss>

