<?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: Sorting and finding out top 10 customers in Pivot Table based on the Total of YTD value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-and-finding-out-top-10-customers-in-Pivot-Table-based-on/m-p/1803683#M65258</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/136883"&gt;@Binay_Sharma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;In Dim:&lt;/P&gt;&lt;P&gt;=Aggr(If(Rank(&lt;STRONG&gt;sum({&amp;lt;[Cycle End Date]={'&amp;gt;=$(vCurrentYearStart)'},[_Acct_Appl_Code_Flag] ={1} &amp;gt;} [#uvGross Fee])&lt;/STRONG&gt;)&amp;lt;=10, CustomerName), CustomerName)&lt;/P&gt;&lt;P&gt;Sorting:&lt;/P&gt;&lt;P&gt;For Customer Dim:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MayilVahanan_0-1619663653522.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53928iB79834310218C612/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MayilVahanan_0-1619663653522.png" alt="MayilVahanan_0-1619663653522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exp: sum({&amp;lt;[Cycle End Date]={'&amp;gt;=$(vCurrentYearStart)'},[_Acct_Appl_Code_Flag] ={1} &amp;gt;} [#uvGross Fee])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 02:34:56 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2021-04-29T02:34:56Z</dc:date>
    <item>
      <title>Sorting and finding out top 10 customers in Pivot Table based on the Total of YTD value</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-and-finding-out-top-10-customers-in-Pivot-Table-based-on/m-p/1803674#M65255</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I spent enough time on this, but couldn't come up with exact solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a pivot table as follow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Binay_Sharma_0-1619654223709.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53926i1EC57F4D8D2E6798/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Binay_Sharma_0-1619654223709.png" alt="Binay_Sharma_0-1619654223709.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Above, Gross fee which is the measures across the YTD months is calculated as below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;[Cycle End Date]={'&amp;gt;=$(vCurrentYearStart)'},[_Acct_Appl_Code_Flag] ={1} &amp;gt;} [#uvGross Fee])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am strugging to sort the data descending based on the Total. The Total field is something which is calculated automatically from Qliksense feature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;can someone please help me , how to pick the top 10 customers here? I looked as some articles, and talks about Rank, but wasn't clear for me.&lt;/P&gt;&lt;P&gt;I would really appreicate if someone can provide some insights.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, I have to thik outside the box and is it something easily achieved by plain table? Please advise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Binay&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 00:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-and-finding-out-top-10-customers-in-Pivot-Table-based-on/m-p/1803674#M65255</guid>
      <dc:creator>Binay_Sharma</dc:creator>
      <dc:date>2021-04-29T00:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting and finding out top 10 customers in Pivot Table based on the Total of YTD value</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-and-finding-out-top-10-customers-in-Pivot-Table-based-on/m-p/1803683#M65258</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/136883"&gt;@Binay_Sharma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;In Dim:&lt;/P&gt;&lt;P&gt;=Aggr(If(Rank(&lt;STRONG&gt;sum({&amp;lt;[Cycle End Date]={'&amp;gt;=$(vCurrentYearStart)'},[_Acct_Appl_Code_Flag] ={1} &amp;gt;} [#uvGross Fee])&lt;/STRONG&gt;)&amp;lt;=10, CustomerName), CustomerName)&lt;/P&gt;&lt;P&gt;Sorting:&lt;/P&gt;&lt;P&gt;For Customer Dim:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MayilVahanan_0-1619663653522.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53928iB79834310218C612/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MayilVahanan_0-1619663653522.png" alt="MayilVahanan_0-1619663653522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exp: sum({&amp;lt;[Cycle End Date]={'&amp;gt;=$(vCurrentYearStart)'},[_Acct_Appl_Code_Flag] ={1} &amp;gt;} [#uvGross Fee])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 02:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-and-finding-out-top-10-customers-in-Pivot-Table-based-on/m-p/1803683#M65258</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-04-29T02:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting and finding out top 10 customers in Pivot Table based on the Total of YTD value</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-and-finding-out-top-10-customers-in-Pivot-Table-based-on/m-p/1803859#M65285</link>
      <description>&lt;P&gt;Thank you Mayil. I will apply these and see if it works. Will let you know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Binay&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 14:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-and-finding-out-top-10-customers-in-Pivot-Table-based-on/m-p/1803859#M65285</guid>
      <dc:creator>Binay_Sharma</dc:creator>
      <dc:date>2021-04-29T14:59:51Z</dc:date>
    </item>
  </channel>
</rss>

