<?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 on multiple Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-function-on-multiple-Dimensions/m-p/1148147#M903404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Swuehl,&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;I made the changes to my expression and It was working fine. However, the sorting order was not changing even double clicking on Rank function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me out. Below is my full expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((Num(Rank(&lt;/P&gt;&lt;P&gt;if(isnull(&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;SOURCE={'XXX'}&amp;gt;}PRODUCT_TOTAL_RX))&lt;/SPAN&gt;,0,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;SOURCE={'XXX'}&amp;gt;}PRODUCT_TOTAL_RX))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;,4,1))*vRankWeight1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 09:42:50 GMT</pubDate>
    <dc:creator>polisetti</dc:creator>
    <dc:date>2016-06-30T09:42:50Z</dc:date>
    <item>
      <title>Rank function on multiple Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-on-multiple-Dimensions/m-p/1148145#M903402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;In one of the straight table chart, we are calculating Rank function on one dimension(CITY) and it was working fine till now.&lt;/P&gt;&lt;P&gt;Now when we are including second Dimension(CITY CODE) into the table the Rank metric is showing random number for multiple time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the function we are using:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;(Num(Rank((Sum({&amp;lt;SOURCE={'XXX'}&amp;gt;}PRODUCT_TOTAL_RX)),4,1))*1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice how to handle Rank on multiple dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-on-multiple-Dimensions/m-p/1148145#M903402</guid>
      <dc:creator>polisetti</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function on multiple Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-on-multiple-Dimensions/m-p/1148146#M903403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with the TOTAL qualifier:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(Num(Rank(&lt;STRONG&gt;TOTAL&lt;/STRONG&gt; (Sum({&amp;lt;SOURCE={'XXX'}&amp;gt;}PRODUCT_TOTAL_RX)),4,1))*1)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 09:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-on-multiple-Dimensions/m-p/1148146#M903403</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-30T09:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rank function on multiple Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-function-on-multiple-Dimensions/m-p/1148147#M903404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Swuehl,&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;I made the changes to my expression and It was working fine. However, the sorting order was not changing even double clicking on Rank function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me out. Below is my full expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((Num(Rank(&lt;/P&gt;&lt;P&gt;if(isnull(&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;SOURCE={'XXX'}&amp;gt;}PRODUCT_TOTAL_RX))&lt;/SPAN&gt;,0,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;SOURCE={'XXX'}&amp;gt;}PRODUCT_TOTAL_RX))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;,4,1))*vRankWeight1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 09:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-function-on-multiple-Dimensions/m-p/1148147#M903404</guid>
      <dc:creator>polisetti</dc:creator>
      <dc:date>2016-06-30T09:42:50Z</dc:date>
    </item>
  </channel>
</rss>

