<?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: Display top 20 materials in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169780#M380387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's great.&lt;/P&gt;&lt;P&gt;For your chart, please try Muthukumar's suggestion :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try in dimension,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AGGR(IF(Rank(sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today()))}&amp;gt;} ([In company code currency POS]/RateFixed)), 20)&amp;lt;=20, Material), Material, 'Others')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2016 11:16:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-22T11:16:22Z</dc:date>
    <item>
      <title>Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169775#M380382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a table in my report (see attached 't20_mat_existing_table') which displays all the records. I want it to show only top 20 materials (rows) which has highest 2016(YTD) , change%. Result should look like the table attached 't20_mat_proposed_table_pie'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2016(YTD)&amp;nbsp; = sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today()))}&amp;gt;} ([In company code currency POS]/RateFixed))&lt;/P&gt;&lt;P&gt;change % = (sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today()))}&amp;gt;} ([In company code currency]/RateFixed))-sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today())-1)}&amp;gt;} ([In company code currency]/RateFixed)))/sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today())-1)}&amp;gt;} ([In company code currency]/RateFixed)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 08:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169775#M380382</guid>
      <dc:creator />
      <dc:date>2016-06-22T08:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169776#M380383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your table, you can sort by expression in the sort tab.&lt;/P&gt;&lt;P&gt;For your chart, you can use the dimension limits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attachments with screenshots as an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 09:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169776#M380383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-22T09:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169777#M380384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Filip,&lt;/P&gt;&lt;P&gt;Your example worked for me in table. Great !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need the pie chart to display the&amp;nbsp; sum of Top 20 sales in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2016(YTD)&amp;nbsp; against sum of all the materials' &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2016(YTD). How to achieve this ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 10:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169777#M380384</guid>
      <dc:creator />
      <dc:date>2016-06-22T10:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169778#M380385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/filip_duchateau"&gt;filip_duchateau&lt;/A&gt; Continuation, &lt;/STRONG&gt;If you want to do in Set Analysis, Then we require your Application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 10:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169778#M380385</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-06-22T10:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169779#M380386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try in dimension,&lt;/P&gt;&lt;P&gt;AGGR(IF(Rank(sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today()))}&amp;gt;} ([In company code currency POS]/RateFixed)), 20)&amp;lt;=20, Material), Material, 'Others')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 10:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169779#M380386</guid>
      <dc:creator>muthukumar77</dc:creator>
      <dc:date>2016-06-22T10:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169780#M380387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's great.&lt;/P&gt;&lt;P&gt;For your chart, please try Muthukumar's suggestion :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try in dimension,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AGGR(IF(Rank(sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today()))}&amp;gt;} ([In company code currency POS]/RateFixed)), 20)&amp;lt;=20, Material), Material, 'Others')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 11:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169780#M380387</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-22T11:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169781#M380388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muthu,&lt;/P&gt;&lt;P&gt;Your expression displays empty pie. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 11:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169781#M380388</guid>
      <dc:creator />
      <dc:date>2016-06-22T11:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169782#M380389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you send me a Qvw file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 04:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169782#M380389</guid>
      <dc:creator>muthukumar77</dc:creator>
      <dc:date>2016-06-23T04:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169783#M380390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muthu,&lt;/P&gt;&lt;P&gt;sorry , the size is huge.. i have attached the script..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 07:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169783#M380390</guid>
      <dc:creator />
      <dc:date>2016-06-23T07:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169784#M380391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today()))}&amp;gt;} ([In company code currency POS]/RateFixed))),Material)&amp;lt;=20,Material,'Others')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 10:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169784#M380391</guid>
      <dc:creator>muthukumar77</dc:creator>
      <dc:date>2016-06-23T10:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169785#M380392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muthu,&lt;/P&gt;&lt;P&gt;Your latest expression also dint work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; Attached one is the expected result in pie chart. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt;User &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt;should&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt;be&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt;able&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt; to &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt;see&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt; TOP 20 &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt;sales&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt;share&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt; of &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt;the&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Arial; color: #0071b9;"&gt;sales.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 10:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169785#M380392</guid>
      <dc:creator />
      <dc:date>2016-06-23T10:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 materials</title>
      <link>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169786#M380393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/129090_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension = Valuelist( 'Top20','Total')&lt;/P&gt;&lt;P&gt;Expression:&amp;nbsp; if(&amp;nbsp; Valuelist( 'Top20','Total')='Top20' ,&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today()))},Material={"=&lt;/P&gt;&lt;P&gt;rank(sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today()))}&amp;gt;} ([In company code currency POS]/RateFixed))),Material))&amp;lt;21"}&amp;gt;} ([In company code currency POS]/RateFixed))),Material)&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Fiscal Year]= {$(=Year(Today()))}&amp;gt;} ([In company code currency POS]/RateFixed))),Material) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 10:34:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-top-20-materials/m-p/1169786#M380393</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2016-06-24T10:34:18Z</dc:date>
    </item>
  </channel>
</rss>

