<?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: Help with an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-an-expression/m-p/364908#M1174265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For that we have a function which returns the most occurring value. The function name is mode().&lt;/P&gt;&lt;P&gt;in your scenario you can use it as &lt;STRONG&gt;mode(CatName) &lt;/STRONG&gt;in your third column.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ashutosh&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2012 05:00:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-24T05:00:43Z</dc:date>
    <item>
      <title>Help with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-an-expression/m-p/364907#M1174264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to group clients by product category. For that i have a straight table with ID in first column, concatenated categories&amp;nbsp; in the second, and in the third column i need the name of the category which occurs most in the second column.&lt;/P&gt;&lt;P&gt; How do i find the rank of eatch CatName in column 2 (by row, not column) and display the one with highest rank in column 3?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 303px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;Client&lt;/TD&gt;&lt;TD width="175"&gt;concat(CatName,',')&lt;/TD&gt;&lt;TD width="64"&gt;Group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;TD&gt;Cat1,Cat1,Cat2,Cat3&lt;/TD&gt;&lt;TD&gt;Cat1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2&lt;/TD&gt;&lt;TD&gt;Cat1,Cat2,Cat2&lt;/TD&gt;&lt;TD&gt;Cat2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;3&lt;/TD&gt;&lt;TD&gt;Cat1,Cat2,Cat3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;4&lt;/TD&gt;&lt;TD&gt;Cat1,Cat1,Cat1,Cat2&lt;/TD&gt;&lt;TD&gt;Cat1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;5&lt;/TD&gt;&lt;TD&gt;Cat1,Cat2,Cat3;cat3&lt;/TD&gt;&lt;TD&gt;Cat3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="question.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/13331_question.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 04:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-an-expression/m-p/364907#M1174264</guid>
      <dc:creator />
      <dc:date>2012-04-24T04:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-an-expression/m-p/364908#M1174265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For that we have a function which returns the most occurring value. The function name is mode().&lt;/P&gt;&lt;P&gt;in your scenario you can use it as &lt;STRONG&gt;mode(CatName) &lt;/STRONG&gt;in your third column.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ashutosh&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 05:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-an-expression/m-p/364908#M1174265</guid>
      <dc:creator />
      <dc:date>2012-04-24T05:00:43Z</dc:date>
    </item>
    <item>
      <title>Help with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-an-expression/m-p/364909#M1174266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. Your reply was quick and correct &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I had no idea this sort of function existed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 05:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-an-expression/m-p/364909#M1174266</guid>
      <dc:creator />
      <dc:date>2012-04-24T05:49:21Z</dc:date>
    </item>
  </channel>
</rss>

