<?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: MAT Total + Top N in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59885#M9926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it did, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just out of curiosity, since the IF command affects performance, do you think there's any other way to achieve the same result without sacrificing performance? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 May 2018 09:41:14 GMT</pubDate>
    <dc:creator>ninnartx</dc:creator>
    <dc:date>2018-05-06T09:41:14Z</dc:date>
    <item>
      <title>MAT Total + Top N</title>
      <link>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59883#M9924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table showing MAT sales of my Top 3 products on the left. I would like to add another column - total sales - to show the total sales in that period regardless of product (but only for my top 3 products). However, when I added TOTAL to my formula, it disregards my set analysis for Top 3 products and "Product B" appeared, as seen on table on the right. How do I get rid of the highlighted rows?&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/201607_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample app. MAT has to be calculated on the frontend because I would like the period to be flexible + users may make other selections.&amp;nbsp; Any help would be greatly appreciated!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2018 03:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59883#M9924</guid>
      <dc:creator>ninnartx</dc:creator>
      <dc:date>2018-05-06T03:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: MAT Total + Top N</title>
      <link>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59884#M9925</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;See if this works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2018 04:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59884#M9925</guid>
      <dc:creator>Neymar_Jr</dc:creator>
      <dc:date>2018-05-06T04:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: MAT Total + Top N</title>
      <link>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59885#M9926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it did, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just out of curiosity, since the IF command affects performance, do you think there's any other way to achieve the same result without sacrificing performance? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2018 09:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59885#M9926</guid>
      <dc:creator>ninnartx</dc:creator>
      <dc:date>2018-05-06T09:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: MAT Total + Top N</title>
      <link>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59886#M9927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You just need to restrict your dimensions by placing the Rank condition of Top 3 outside your Pick Match&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;=if(AGGR(Rank(Sum(Value))&amp;lt;=3,_RollingMAT,Product)&lt;/P&gt;&lt;P&gt;,Pick(_RollingMAT, &lt;/P&gt;&lt;P&gt;sum(TOTAL &amp;lt;Yr_Mth&amp;gt; {&amp;lt;Yr_Mth={"&amp;gt;=$(=addmonths(max(Yr_Mth),-23))&amp;lt;=$(=addmonths(max(Yr_Mth),-12))"},&lt;/P&gt;&lt;P&gt;Product={"=Rank(Sum(Value))&amp;lt;=3"}&amp;gt;}Value), &lt;/P&gt;&lt;P&gt;sum(TOTAL {&amp;lt;Yr_Mth={"&amp;gt;=$(=addmonths(max(Yr_Mth),-20))&amp;lt;=$(=addmonths(max(Yr_Mth),-9))"},&lt;/P&gt;&lt;P&gt;Product={"=Rank(Sum(Value))&amp;lt;=3"}&amp;gt;}Value), &lt;/P&gt;&lt;P&gt;sum(TOTAL {&amp;lt;Yr_Mth={"&amp;gt;=$(=addmonths(max(Yr_Mth),-17))&amp;lt;=$(=addmonths(max(Yr_Mth),-6))"},&lt;/P&gt;&lt;P&gt;Product={"=Rank(Sum(Value))&amp;lt;=3"}&amp;gt;}Value),&lt;/P&gt;&lt;P&gt;sum(TOTAL {&amp;lt;Yr_Mth={"&amp;gt;=$(=addmonths(max(Yr_Mth),-14))&amp;lt;=$(=addmonths(max(Yr_Mth),-3))"},&lt;/P&gt;&lt;P&gt;Product={"=Rank(Sum(Value))&amp;lt;=3"}&amp;gt;}Value),&lt;/P&gt;&lt;P&gt;sum(TOTAL {&amp;lt;Yr_Mth={"&amp;gt;=$(=addmonths(max(Yr_Mth),-11))&amp;lt;=$(=addmonths(max(Yr_Mth),0))"},&lt;/P&gt;&lt;P&gt;Product={"=Rank(Sum(Value))&amp;lt;=3"}&amp;gt;}Value))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2018 10:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59886#M9927</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2018-05-06T10:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: MAT Total + Top N</title>
      <link>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59887#M9928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached app, use your existing expression with Calculated dimension, so you won't have to add the Rank restriction condition to each of your expressions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2018 10:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAT-Total-Top-N/m-p/59887#M9928</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2018-05-06T10:28:18Z</dc:date>
    </item>
  </channel>
</rss>

