<?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 Ranking in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ranking/m-p/432104#M161098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hello All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have an issue where i have to generate rank for the below expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&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;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;=&amp;gt;}Rev)-(fabs(sum({&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;=,ActivityType={'Revenue'}&amp;gt;}Expense))+sum({&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt; = ,MasterActivityType={'Expense','ContentServices','Support'}&amp;gt;}Expense)))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;i tried someting like below and it is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: blue;"&gt;=aggr&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;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;=&amp;gt;}Net)-(fabs(sum({&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;=,MasterActivityType={'Revenue'}&amp;gt;}Expense))+&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: black;"&gt;sum({&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt; = ,MasterActivityType={'Expense','ContentServices','Support'}&amp;gt;}Expense))),4),&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;)&lt;/SPAN&gt;&lt;STRONG style="color: red;"&gt;),4)$(vClntNum)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;P&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2013 20:30:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-17T20:30:00Z</dc:date>
    <item>
      <title>Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking/m-p/432104#M161098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hello All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have an issue where i have to generate rank for the below expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&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;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;=&amp;gt;}Rev)-(fabs(sum({&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;=,ActivityType={'Revenue'}&amp;gt;}Expense))+sum({&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt; = ,MasterActivityType={'Expense','ContentServices','Support'}&amp;gt;}Expense)))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;i tried someting like below and it is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: blue;"&gt;=aggr&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;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;=&amp;gt;}Net)-(fabs(sum({&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;=,MasterActivityType={'Revenue'}&amp;gt;}Expense))+&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: black;"&gt;sum({&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt; = ,MasterActivityType={'Expense','ContentServices','Support'}&amp;gt;}Expense))),4),&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray;"&gt;$(vClntNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black;"&gt;)&lt;/SPAN&gt;&lt;STRONG style="color: red;"&gt;),4)$(vClntNum)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;P&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 20:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking/m-p/432104#M161098</guid>
      <dc:creator />
      <dc:date>2013-01-17T20:30:00Z</dc:date>
    </item>
  </channel>
</rss>

