<?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: Dense Rank in QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dense-Rank-in-QlikView/m-p/769077#M1039042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this Num(R&lt;SPAN class="Bold"&gt;ank&lt;/SPAN&gt;(S&lt;SPAN class="Bold"&gt;um&lt;/SPAN&gt;(Salary), 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of 1 you can use differnet options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-weight: bold;"&gt;Mode 0 (default)&lt;/SPAN&gt; Rows 2 and 3 share ranking but are clearly on the lower half of the total ranking. Their number representation is therefore rounded downwards to 2. Rows 4 and 5 share ranking too, but fall just above the middle of the ranking table. Therefore they get a number representation of the average of the first and the last rank in the column ((1+8)/2=4.5). This mode is especially useful when you want to use &lt;SPAN class="Bold"&gt;Visual Cues&lt;/SPAN&gt; to mark the data ranking highest and lowest within a group. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-weight: bold;"&gt;Mode 1&lt;/SPAN&gt; In both cases the lower ranking figure within the group is used, i.e. 2 for rows 2 and 3, 4 for rows 4 and 5. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-weight: bold;"&gt;Mode 2&lt;/SPAN&gt; In both cases the average of the low and high ranking within the group is used, i.e. 2.5 ((2+3)/2) for rows 2 and 3, 4.5 ((4+5)/2) for rows 4 and 5. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-weight: bold;"&gt;Mode 3&lt;/SPAN&gt; In both cases the higher ranking figure within the group is used, i.e. 3 for rows 2 and 3, 5 for rows 4 and 5. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-weight: bold;"&gt;Mode 4&lt;/SPAN&gt; Each row is assigned its own distinct numeric value. The order within groups sharing a ranking is determined by the sort order of the chart's 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>Fri, 19 Dec 2014 21:33:56 GMT</pubDate>
    <dc:creator>jjordaan</dc:creator>
    <dc:date>2014-12-19T21:33:56Z</dc:date>
    <item>
      <title>Dense Rank in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Dense-Rank-in-QlikView/m-p/769076#M1039041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to implement oracle data base dense_rank function in qlikview chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 295pt; border-collapse: collapse;" width="394"&gt;&lt;TBODY&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD class="xl63" height="19" style="border: 0.5pt solid windowtext; width: 87pt; height: 14.4pt; background-color: transparent;" width="116"&gt;&lt;SPAN style="font-family: Calibri;"&gt;Employee&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: windowtext windowtext windowtext black; width: 48pt; background-color: transparent;" width="64"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Salary&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: windowtext windowtext windowtext black; width: 70pt; background-color: transparent;" width="94"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Rank&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: windowtext windowtext windowtext black; width: 90pt; background-color: yellow;" width="120"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Dense_Rank&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD class="xl63" height="19" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: black windowtext windowtext; height: 14.4pt; background-color: transparent;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;10000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: yellow;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD class="xl63" height="19" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: black windowtext windowtext; height: 14.4pt; background-color: transparent;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;8000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: yellow;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD class="xl63" height="19" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: black windowtext windowtext; height: 14.4pt; background-color: transparent;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;8000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: yellow;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.4pt;"&gt;&lt;TD class="xl63" height="19" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: black windowtext windowtext; height: 14.4pt; background-color: transparent;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;D&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;5000&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: black windowtext windowtext black; background-color: yellow;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help on this!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shekar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 21:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dense-Rank-in-QlikView/m-p/769076#M1039041</guid>
      <dc:creator />
      <dc:date>2014-12-19T21:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dense Rank in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Dense-Rank-in-QlikView/m-p/769077#M1039042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this Num(R&lt;SPAN class="Bold"&gt;ank&lt;/SPAN&gt;(S&lt;SPAN class="Bold"&gt;um&lt;/SPAN&gt;(Salary), 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of 1 you can use differnet options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-weight: bold;"&gt;Mode 0 (default)&lt;/SPAN&gt; Rows 2 and 3 share ranking but are clearly on the lower half of the total ranking. Their number representation is therefore rounded downwards to 2. Rows 4 and 5 share ranking too, but fall just above the middle of the ranking table. Therefore they get a number representation of the average of the first and the last rank in the column ((1+8)/2=4.5). This mode is especially useful when you want to use &lt;SPAN class="Bold"&gt;Visual Cues&lt;/SPAN&gt; to mark the data ranking highest and lowest within a group. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-weight: bold;"&gt;Mode 1&lt;/SPAN&gt; In both cases the lower ranking figure within the group is used, i.e. 2 for rows 2 and 3, 4 for rows 4 and 5. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-weight: bold;"&gt;Mode 2&lt;/SPAN&gt; In both cases the average of the low and high ranking within the group is used, i.e. 2.5 ((2+3)/2) for rows 2 and 3, 4.5 ((4+5)/2) for rows 4 and 5. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-weight: bold;"&gt;Mode 3&lt;/SPAN&gt; In both cases the higher ranking figure within the group is used, i.e. 3 for rows 2 and 3, 5 for rows 4 and 5. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-weight: bold;"&gt;Mode 4&lt;/SPAN&gt; Each row is assigned its own distinct numeric value. The order within groups sharing a ranking is determined by the sort order of the chart's 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>Fri, 19 Dec 2014 21:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dense-Rank-in-QlikView/m-p/769077#M1039042</guid>
      <dc:creator>jjordaan</dc:creator>
      <dc:date>2014-12-19T21:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dense Rank in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Dense-Rank-in-QlikView/m-p/769078#M1039043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dimension: Employee&lt;/P&gt;&lt;P&gt;Expression: If(RowNo() = 1,1,If(Sum(Salary) = Above(Sum(Salary)),Above(Column(1)),Above(Column(1))+1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 09:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dense-Rank-in-QlikView/m-p/769078#M1039043</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-22T09:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dense Rank in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Dense-Rank-in-QlikView/m-p/769079#M1039044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="RANK_Table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134009_RANK_Table.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Shekar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this using "above" function. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;1. Expression based on which I want Rank :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: blue;"&gt;CL=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background: lime;"&gt;sum&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; background: lime;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; background: lime;"&gt;ST_Year&lt;/SPAN&gt;&lt;SPAN style="color: black; background: lime;"&gt;={'2016'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; background: lime;"&gt;EXTRA_FUEL&lt;/SPAN&gt;&lt;SPAN style="color: black; background: lime;"&gt;)*2.2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Rank : just applied rank on above expression. I want rank 1 if sum is less, so applied negative sign also.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;Rank=&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #f2f2f2; background: red;"&gt;rank(-sum({&amp;lt;ST_Year={'2016'}&amp;gt;}EXTRA_FUEL)*2.2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Rank ‘-’&amp;nbsp; is to check whether that rank containing ‘-’ or not&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;rank&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(-&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;ST_Year&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'2016'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;EXTRA_FUEL&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;)*2.2) ,'-',1)&amp;gt;0 ,1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;4. Above ‘-’ is to check previous row rank containing ‘-’ or not&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Column&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(2)),'-',1)&amp;gt;0,1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;5. In Rank &amp;amp; above ‘-’&amp;nbsp; , combining expression 3 &amp;amp; 4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;rank&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(-&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;ST_Year&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;={'2016'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;EXTRA_FUEL&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;)*2.2) ,'-',1)&amp;gt;0 ,1,0)=1 &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;index&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Column&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(2)),'-',1)&amp;gt;0,1,0)=1,&lt;BR /&gt; 1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: black;"&gt;6. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: black;"&gt;First Row: to check whether this row is First or not&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Column&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(2))&amp;gt;=0,0,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: black;"&gt;7. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: black;"&gt;Updated Rank : combining expressions in 5 &amp;amp; 6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; background: aqua;"&gt;if(&lt;BR /&gt; if(above(Column(2))&amp;gt;=0,0,1)=1 ,&lt;BR /&gt; if(if(index(rank(-sum({&amp;lt;ST_Year={'2016'}&amp;gt;}EXTRA_FUEL)*2.2) ,'-',1)&amp;gt;0 ,1,0)=1,1,rank(-sum({&amp;lt;ST_Year={'2016'}&amp;gt;}EXTRA_FUEL)*2.2)),&lt;BR /&gt; if((if(if(index(rank(-sum({&amp;lt;ST_Year={'2016'}&amp;gt;}EXTRA_FUEL)*2.2) ,'-',1)&amp;gt;0 ,1,0)=1 and if( index(above(Column(2)),'-',1)&amp;gt;0,1,0)=1,1,0))=1,above(column(7)),above(column(7))+1)&lt;BR /&gt; )&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 06:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dense-Rank-in-QlikView/m-p/769079#M1039044</guid>
      <dc:creator />
      <dc:date>2016-08-09T06:57:45Z</dc:date>
    </item>
  </channel>
</rss>

