<?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: Calculation of 10 Clients in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-of-10-Clients/m-p/1523242#M438191</link>
    <description>&lt;P&gt;Thanks Sunny it worked perfect.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2018 19:59:55 GMT</pubDate>
    <dc:creator>tmumaw</dc:creator>
    <dc:date>2018-12-20T19:59:55Z</dc:date>
    <item>
      <title>Calculation of 10 Clients</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-of-10-Clients/m-p/1523233#M438189</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Need a little help with a statement.&amp;nbsp; I'm trying to get my top 10 clients YTD in a text box.&amp;nbsp; The only part I'm having a hard time with is figuring out where to put the second statement (FISYR and YTD statements).&amp;nbsp; The top statement works fine.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;=&lt;FONT color="#0000ff"&gt;Num&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;SUM&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;[Client Name]&lt;/FONT&gt;={&lt;FONT color="#800000"&gt;"=sum([Inv Gross])&amp;gt;=$(=max(aggr(sum([Inv Gross]),[Client Name]),10))"&lt;/FONT&gt;}&amp;gt;}&lt;FONT color="#800000"&gt;[Inv Gross]&lt;/FONT&gt;),'$###,###,##0' )&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;(&lt;/FONT&gt;&lt;/STRONG&gt;{&amp;lt;FISYR = {&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080"&gt;$(=$(vFisYr) - 1)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;},YTDFlag = {1}&amp;gt;} &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-of-10-Clients/m-p/1523233#M438189</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2024-11-16T04:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of 10 Clients</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-of-10-Clients/m-p/1523236#M438190</link>
      <description>&lt;P&gt;May be one of these&lt;/P&gt;&lt;PRE&gt;=Num(Sum({&amp;lt;[Client Name] = {"=Sum([Inv Gross])&amp;gt;=$(=Max(Aggr(Sum([Inv Gross]), [Client Name]),10))"}, FISYR = {$(=$(vFisYr) - 1)}, YTDFlag = {1}&amp;gt;} [Inv Gross]), '$###,###,##0')&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;PRE&gt;=Num(Sum({&amp;lt;[Client Name] = {"=Sum({&amp;lt;FISYR = {$(=$(vFisYr) - 1)}, YTDFlag = {1}&amp;gt;}[Inv Gross])&amp;gt;=$(=Max(Aggr(Sum({&amp;lt;FISYR = {$(=$(vFisYr) - 1)}, YTDFlag = {1}&amp;gt;}[Inv Gross]), [Client Name]),10))"}, FISYR = {$(=$(vFisYr) - 1)}, YTDFlag = {1}&amp;gt;} [Inv Gross]), '$###,###,##0')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;or you can simplify them to this&lt;/P&gt;&lt;PRE&gt;=Num(Sum({&amp;lt;[Client Name] = {"=Rank(Sum({&amp;lt;FISYR = {$(=$(vFisYr) - 1)}, YTDFlag = {1}&amp;gt;}[Inv Gross]) &amp;lt; 11"}, FISYR = {$(=$(vFisYr) - 1)}, YTDFlag = {1}&amp;gt;} [Inv Gross]), '$###,###,##0')&lt;/PRE&gt;&lt;P&gt;or this&lt;/P&gt;&lt;PRE&gt;=Num(Sum({&amp;lt;[Client Name] = {"=Rank(Sum([Inv Gross]) &amp;lt; 11"}, FISYR = {$(=$(vFisYr) - 1)}, YTDFlag = {1}&amp;gt;} [Inv Gross]), '$###,###,##0')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 19:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-of-10-Clients/m-p/1523236#M438190</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-20T19:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of 10 Clients</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-of-10-Clients/m-p/1523242#M438191</link>
      <description>&lt;P&gt;Thanks Sunny it worked perfect.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 19:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-of-10-Clients/m-p/1523242#M438191</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-12-20T19:59:55Z</dc:date>
    </item>
  </channel>
</rss>

