<?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 expression in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-expression-in-straight-table/m-p/1612968#M735115</link>
    <description>&lt;P&gt;please share qvw or rawdata&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Aug 2019 15:28:57 GMT</pubDate>
    <dc:creator>Frank_Hartmann</dc:creator>
    <dc:date>2019-08-15T15:28:57Z</dc:date>
    <item>
      <title>Rank expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-expression-in-straight-table/m-p/1612947#M735114</link>
      <description>&lt;P&gt;I have a straight table with 2 dimensions (Category, Year). I am trying to take the sum of variable "Amt" by Category and Year and then show the maximum sum(Amt) by Year. I currently have an expression (Exp1) that has definition: Max(Aggr(Sum(Amt), Category, Year)). Basically, I need to see the priciest categories by year.&lt;/P&gt;&lt;P&gt;I also need to have a column that gives me the rank of Exp1, which is sorted in descending order. The highest value of Exp1 should have rank 1 and the lowest value of Exp1 should have a rank equal to the number of distinct values of dimension "Year."&lt;/P&gt;&lt;P&gt;When I define the Rank expression as Rank([Exp1]), Dimension "Year" expands to give me each Category for Year instead of showing each distinct year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I define the expression properly that also will let me create a column that assigns a rank to Exp1 without affecting the displayed Exp1, Category, and Year?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-expression-in-straight-table/m-p/1612947#M735114</guid>
      <dc:creator>jessiyeajin</dc:creator>
      <dc:date>2024-11-16T02:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rank expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-expression-in-straight-table/m-p/1612968#M735115</link>
      <description>&lt;P&gt;please share qvw or rawdata&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 15:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-expression-in-straight-table/m-p/1612968#M735115</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2019-08-15T15:28:57Z</dc:date>
    </item>
  </channel>
</rss>

