<?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 Rank with set analysis 2 dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rank-with-set-analysis-2-dimensions/m-p/2158075#M93823</link>
    <description>&lt;P&gt;I have this dimension measure but it doenst show anything.&lt;/P&gt;
&lt;P&gt;=aggr(if (rank( total sum({$&amp;lt;[Item Type]={'Inventory Item'}, Currency = {'PHP'}&amp;gt;},[Subtotal]))&amp;lt;=10,sum(num([Subtotal],'#,##0.00'))),[Item Name])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to have the top 10 only with focus on PHP and Inventory Item.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What seems to be the problem of my code?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:08:24 GMT</pubDate>
    <dc:creator>KevinJ</dc:creator>
    <dc:date>2024-11-15T21:08:24Z</dc:date>
    <item>
      <title>Rank with set analysis 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-with-set-analysis-2-dimensions/m-p/2158075#M93823</link>
      <description>&lt;P&gt;I have this dimension measure but it doenst show anything.&lt;/P&gt;
&lt;P&gt;=aggr(if (rank( total sum({$&amp;lt;[Item Type]={'Inventory Item'}, Currency = {'PHP'}&amp;gt;},[Subtotal]))&amp;lt;=10,sum(num([Subtotal],'#,##0.00'))),[Item Name])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to have the top 10 only with focus on PHP and Inventory Item.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What seems to be the problem of my code?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-with-set-analysis-2-dimensions/m-p/2158075#M93823</guid>
      <dc:creator>KevinJ</dc:creator>
      <dc:date>2024-11-15T21:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rank with set analysis 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Rank-with-set-analysis-2-dimensions/m-p/2479156#M100561</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/258192"&gt;@KevinJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;the issue with your expression lies in how you're applying the AGGR and the RANK function within your set analysis, try this:&lt;/P&gt;
&lt;P&gt;=aggr(&lt;BR /&gt;if(&lt;BR /&gt;rank(&lt;BR /&gt;sum({$&amp;lt;[Item Type]={'Inventory Item'}, Currency={'PHP'}&amp;gt;} [Subtotal])&lt;BR /&gt;) &amp;lt;= 10,&lt;BR /&gt;[Item Name]&lt;BR /&gt;),&lt;BR /&gt;[Item Name]&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;Hope this is what you were looking for&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 13:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rank-with-set-analysis-2-dimensions/m-p/2479156#M100561</guid>
      <dc:creator>F_B</dc:creator>
      <dc:date>2024-09-02T13:30:52Z</dc:date>
    </item>
  </channel>
</rss>

