<?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: Sum TOTAL with TOP N in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233268#M392716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this look right?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143589_Capture.PNG" style="height: 334px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2016 19:01:45 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-11-10T19:01:45Z</dc:date>
    <item>
      <title>Sum TOTAL with TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233265#M392713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi!, sorry for my bad english, I have a chart to display the top 5 VALOR_FIJO per FILIAL, but i need an expression to display the sum(total &amp;lt;FILIAL&amp;gt; NUM_CANTIDAD), but is always filtered for the top 5 of VALOR_FIJO, i've tried &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;VALOR_FIJO=&amp;gt;} total &amp;lt;FILIAL&amp;gt; NUM_CANTIDAD) without success.&lt;/SPAN&gt;&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;Pivot Table :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dimension 1 : Filial&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dimension 2 : =aggr(if(rank(sum(NUM_IMPORTE_TOTAL_MAPA_CONTRATO))&amp;lt;=5,VALOR_FIJO),VALOR_FIJO)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression : SUM({&amp;lt;VALOR_FIJO=&amp;gt;} TOTAL &amp;lt;FILIAL&amp;gt; NUM_CANTIDAD)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG __jive_id="143567" alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143567_1.png" style="height: 185px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The chart is displaying 24807, but the real number is 61196.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;24807 is the total of the VALOR_FIJO displaying.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;VALOR_FIJO&lt;/TD&gt;&lt;TD&gt;SUM(NUM_CANTIDAD)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;TD&gt;8907&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;287.00&lt;/TD&gt;&lt;TD&gt;7708&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;71.50&lt;/TD&gt;&lt;TD&gt;4336&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;120.00&lt;/TD&gt;&lt;TD&gt;2363&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;196.00&lt;/TD&gt;&lt;TD&gt;1493&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TOTAL : 24807&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I can get the real value if i remove the &amp;lt;FILIAL&amp;gt; from the expression : &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;VALOR_FIJO=&amp;gt;} total NUM_CANTIDAD)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;But if I filter more than 1 FILIAL, I get the full total, and not the total of each FILIAL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Any ideas of how can i achieve this?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 17:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233265#M392713</guid>
      <dc:creator>Facundo</dc:creator>
      <dc:date>2016-11-10T17:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum TOTAL with TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233266#M392714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share your app to try out few things?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 18:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233266#M392714</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-10T18:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sum TOTAL with TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233267#M392715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;App shared&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 18:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233267#M392715</guid>
      <dc:creator>Facundo</dc:creator>
      <dc:date>2016-11-10T18:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sum TOTAL with TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233268#M392716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this look right?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143589_Capture.PNG" style="height: 334px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 19:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233268#M392716</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-10T19:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum TOTAL with TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233269#M392717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that fixed the problem, but now i figured out that if you have selected just one FILIAL, you can see 5 values for that FILIAL, but if you have selected many FILIAL, you can't see 5 values per FILIAL!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 19:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233269#M392717</guid>
      <dc:creator>Facundo</dc:creator>
      <dc:date>2016-11-10T19:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sum TOTAL with TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233270#M392718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143590_Capture.PNG" style="height: 336px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 20:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233270#M392718</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-10T20:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sum TOTAL with TOP N</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233271#M392719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PERFECT!, thanks you very much!, it was driving me crazy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 20:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-TOTAL-with-TOP-N/m-p/1233271#M392719</guid>
      <dc:creator>Facundo</dc:creator>
      <dc:date>2016-11-10T20:32:52Z</dc:date>
    </item>
  </channel>
</rss>

