<?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: trying to rank a variable and return the string associated with the top ranked variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/trying-to-rank-a-variable-and-return-the-string-associated-with/m-p/819541#M1018820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that Piet, it works perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 15:57:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-30T15:57:25Z</dc:date>
    <item>
      <title>trying to rank a variable and return the string associated with the top ranked variable</title>
      <link>https://community.qlik.com/t5/QlikView/trying-to-rank-a-variable-and-return-the-string-associated-with/m-p/819539#M1018818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having some issues when trying to rank a variable and return the string associated with the top ranked variable! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a cross table bringing in the client ID, bank and bank data!&amp;nbsp; Is there a way of ranking/sorting these to allow me to pull the most popular bank name into a text box without having to create a huge IF statement comparing the sum of each bank with all the rest of the banks?(of which there are many)!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any one have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 11:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trying-to-rank-a-variable-and-return-the-string-associated-with/m-p/819539#M1018818</guid>
      <dc:creator />
      <dc:date>2015-03-30T11:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: trying to rank a variable and return the string associated with the top ranked variable</title>
      <link>https://community.qlik.com/t5/QlikView/trying-to-rank-a-variable-and-return-the-string-associated-with/m-p/819540#M1018819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the rank function, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat(Aggr(if(Rank(Sum(BankData))=1,Bank),Bank),' / ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also used Concat, as there can be more then one Bank with the same outcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 15:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trying-to-rank-a-variable-and-return-the-string-associated-with/m-p/819540#M1018819</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-03-30T15:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: trying to rank a variable and return the string associated with the top ranked variable</title>
      <link>https://community.qlik.com/t5/QlikView/trying-to-rank-a-variable-and-return-the-string-associated-with/m-p/819541#M1018820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that Piet, it works perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 15:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trying-to-rank-a-variable-and-return-the-string-associated-with/m-p/819541#M1018820</guid>
      <dc:creator />
      <dc:date>2015-03-30T15:57:25Z</dc:date>
    </item>
  </channel>
</rss>

