<?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 in Staright Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549344#M744613</link>
    <description>&lt;P&gt;Hi Both,&lt;/P&gt;&lt;P&gt;Thanks for your responses. Unfortiunately I'm not able to share the app.&lt;/P&gt;&lt;P&gt;Marwen - I have implemented your expression and it's looking a lot closer now, as per the below screenshot. I've amended the background data slightly which is why the figures don't quite match my original screenshot, but the rankings &lt;STRONG&gt;almost&lt;/STRONG&gt; seem to be working. The only thing not quite right is that the rankings seem to be null for any countries where there is no volume shipped in the selected month (the volumes/rankings are based on year to date based on selected year and month, as per my original post). I'll try and figure this out now, unless anyone has any pointers?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VOLUME3.PNG" style="width: 278px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6781i73877D869427D1D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="VOLUME3.PNG" alt="VOLUME3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 16:13:49 GMT</pubDate>
    <dc:creator>danielle_v</dc:creator>
    <dc:date>2019-02-26T16:13:49Z</dc:date>
    <item>
      <title>Rank in Staright Table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549298#M744610</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have put together the below straight table to show volume by country.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VOLUME2.PNG" style="width: 273px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6777iD1CF5A3BC08FED23/image-size/large?v=v2&amp;amp;px=999" role="button" title="VOLUME2.PNG" alt="VOLUME2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The Volume expression is&amp;nbsp; sum({$&amp;lt;Year={$(vCurrentYear)}, Month={"&amp;lt;=$(=max(Month))"}&amp;gt;} Volume)&lt;/P&gt;&lt;P&gt;The rank expression is rank(sum({$&amp;lt;Year={$(vCurrentYear)}, Month={"&amp;lt;=$(=max(Month))"}&amp;gt;} Volume))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've clearly done something wrong, but I haven't yet been able to figure it out! I'd like the rank to show 1 for China, 2 for Italy, 3 for Bangladesh etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549298#M744610</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2024-11-16T04:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Staright Table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549303#M744611</link>
      <description>Can you share the app?&lt;BR /&gt;the expresion looks good, it shoudn´t to show this result</description>
      <pubDate>Tue, 26 Feb 2019 15:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549303#M744611</guid>
      <dc:creator>tincholiver</dc:creator>
      <dc:date>2019-02-26T15:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Staright Table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549305#M744612</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;aggr(rank(&lt;SPAN&gt;sum({$&amp;lt;Year={$(vCurrentYear)}, Month={"&amp;lt;=$(=max(Month))"}&amp;gt;} Volume)&lt;/SPAN&gt;),Country)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marwen&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 15:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549305#M744612</guid>
      <dc:creator>marwen_garwachi</dc:creator>
      <dc:date>2019-02-26T15:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Staright Table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549344#M744613</link>
      <description>&lt;P&gt;Hi Both,&lt;/P&gt;&lt;P&gt;Thanks for your responses. Unfortiunately I'm not able to share the app.&lt;/P&gt;&lt;P&gt;Marwen - I have implemented your expression and it's looking a lot closer now, as per the below screenshot. I've amended the background data slightly which is why the figures don't quite match my original screenshot, but the rankings &lt;STRONG&gt;almost&lt;/STRONG&gt; seem to be working. The only thing not quite right is that the rankings seem to be null for any countries where there is no volume shipped in the selected month (the volumes/rankings are based on year to date based on selected year and month, as per my original post). I'll try and figure this out now, unless anyone has any pointers?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VOLUME3.PNG" style="width: 278px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6781i73877D869427D1D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="VOLUME3.PNG" alt="VOLUME3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 16:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549344#M744613</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2019-02-26T16:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Staright Table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549367#M744614</link>
      <description>&lt;P&gt;Maybe you can try o supress null values (on dimension tab) to hide countries with no volume shipped ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.JPG" style="width: 326px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6787i8607491B65D18D20/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;or supress zéro values (on presentation tab) :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 654px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6788iF691F17084098830/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marwen&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 17:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549367#M744614</guid>
      <dc:creator>marwen_garwachi</dc:creator>
      <dc:date>2019-02-26T17:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Staright Table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549458#M744615</link>
      <description>&lt;P&gt;Can you try this&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;Only({$&amp;lt;Year={$(vCurrentYear)}, Month={"&amp;lt;=$(=max(Month))"}&amp;gt;}&lt;BR /&gt;&lt;/FONT&gt;  Aggr(&lt;BR /&gt;    Rank(Sum({$&amp;lt;Year = {$(vCurrentYear)}, Month = {"&amp;lt;=$(=max(Month))"}&amp;gt;} Volume))&lt;BR /&gt;  , Country)&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Feb 2019 20:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1549458#M744615</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-26T20:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rank in Staright Table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1552278#M744616</link>
      <description>&lt;P&gt;Thanks Sunny - this solution works perfectly!&lt;/P&gt;&lt;P&gt;Thanks too to everyone else for your help and responses&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 10:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-in-Staright-Table/m-p/1552278#M744616</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2019-03-05T10:22:49Z</dc:date>
    </item>
  </channel>
</rss>

