<?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: Top 5 Ranking - Multiple Conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316168#M822890</link>
    <description>&lt;P&gt;Hello Andrew:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; My apologies for the delay in responding back.&amp;nbsp; Sorry for the confusion.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Oct 2019 01:35:35 GMT</pubDate>
    <dc:creator>pnn44794</dc:creator>
    <dc:date>2019-10-13T01:35:35Z</dc:date>
    <item>
      <title>Top 5 Ranking - Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316163#M822885</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create multiple, either straight tables or pivot tables (pivot tables are the preference) that show the top 5 project_id's by total effective_item_qty for specific "foundation 1" items.&amp;nbsp; If it's possible to create one straight table or one pivot table and then just filter, that would absolutely work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As always, any and all help is appreciated.&amp;nbsp; Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316163#M822885</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Ranking - Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316164#M822886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give Sample data it will help us to reach destination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arvind Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 05:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316164#M822886</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2017-07-31T05:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Ranking - Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316165#M822887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perry,&lt;/P&gt;&lt;P&gt;Please re-upload you data with foundation1 and foundation 2 fields saved as values to your spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 07:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316165#M822887</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-31T07:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Ranking - Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316166#M822888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could try this as calculated Dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;project_include_in_forecast&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;project_is_active&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 1 &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;estimate_include_in_forecast&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;estimate_is_active&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =1 &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;effective_item_action&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Add' ,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;effective_item_qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; )&lt;BR /&gt; , &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;project_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; , 3, 1)&lt;BR /&gt; , &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;project_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= 5,&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;project_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;Dimensions: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;- see code above (tick the Option "suppress when value is null")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;- oder_date_quarter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;Expressions:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;effective_item_qty&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;t&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;his will give you top 5 Projects based on sum(effective_item_qty)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;you can still select any quarter period to get the top 5 fot that range.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;And you can select any foundation1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 07:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316166#M822888</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2017-07-31T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Ranking - Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316167#M822889</link>
      <description>&lt;P&gt;Hello Arvind:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I take it you're unable to open the sample data I attached to my initial post?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My apologies for the confusion and delay in replying.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 01:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316167#M822889</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-13T01:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Ranking - Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316168#M822890</link>
      <description>&lt;P&gt;Hello Andrew:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; My apologies for the delay in responding back.&amp;nbsp; Sorry for the confusion.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 01:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316168#M822890</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-13T01:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Ranking - Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316169#M822891</link>
      <description>&lt;P&gt;Hello Arvind (again):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry I misspoke above.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 01:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316169#M822891</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-13T01:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Ranking - Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316170#M822892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay in replying.&amp;nbsp; Your solution definitely works if I only include the fields in the calculated dimension.&amp;nbsp; I get the top 5 rows for, as an example, catalog_item_class_tier2 = VSI DEDICATED.&amp;nbsp; One row per project_id and that's the desired outcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I start adding additional fields though, I get multiple rows per project.&amp;nbsp; I still only get 5 project_id's, but multiple rows for each one.&amp;nbsp; Each project_id can have multiple rows with the same catalog_item_class_tier2 value with different amounts and in some cases the same amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing that I either need to add the additional fields into the calculated dimension, comma separated, after project_id or I need to do something with the Expression, in order to limit the output to just 5 rows, one per top 5 project_id's????&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, I currently have this in a straight table and I'll be trying a Pivot table a little later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 20:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316170#M822892</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-07-31T20:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5 Ranking - Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316171#M822893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to mark your answer as the correct answer because it does indeed work.&amp;nbsp; Hopefully, you'll be able to take a look at my follow up questions.&amp;nbsp; I do appreciate your help.&amp;nbsp; Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Aug 2017 23:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-Ranking-Multiple-Conditions/m-p/1316171#M822893</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-08-06T23:39:46Z</dc:date>
    </item>
  </channel>
</rss>

