<?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 How to sum-up only the maximum values based on particular Field? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763186#M1025177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QV Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me to total only the maximum values?&lt;/P&gt;&lt;P&gt;Please see the attached excel sheet for more details. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 06:11:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-09T06:11:59Z</dc:date>
    <item>
      <title>How to sum-up only the maximum values based on particular Field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763186#M1025177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QV Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me to total only the maximum values?&lt;/P&gt;&lt;P&gt;Please see the attached excel sheet for more details. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 06:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763186#M1025177</guid>
      <dc:creator />
      <dc:date>2015-03-09T06:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum-up only the maximum values based on particular Field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763187#M1025178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mrunali,&lt;/P&gt;&lt;P&gt; U can achieve these in backend script as :-&lt;/P&gt;&lt;P&gt;Load max(Net_Value) as MaxNetValue,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesOrder,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; etc&lt;/P&gt;&lt;P&gt;... group by SalesOrder,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 06:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763187#M1025178</guid>
      <dc:creator>mukesh24</dc:creator>
      <dc:date>2015-03-09T06:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum-up only the maximum values based on particular Field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763188#M1025179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mukesh,&lt;/P&gt;&lt;P&gt;It is not working. Can you upload .Qvw file ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 06:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763188#M1025179</guid>
      <dc:creator />
      <dc:date>2015-03-09T06:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum-up only the maximum values based on particular Field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763189#M1025180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please explain your requirement&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 368px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl64" height="20" style="height: 15.0pt; width: 59pt;" width="79"&gt;Sales Order&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none; width: 65pt;" width="87"&gt;Customer ID&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none; width: 71pt;" width="95"&gt;Serial Number&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none; width: 80pt;" width="107"&gt;Net Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl66" height="140" rowspan="7" style="border-bottom: .5pt solid black; height: 105.0pt; border-top: none;"&gt;10200001&lt;/TD&gt;&lt;TD class="xl66" rowspan="7" style="border-bottom: .5pt solid black; border-top: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" rowspan="7" style="border-bottom: .5pt solid black; border-top: none;"&gt;3100123&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height: 15.0pt; border-top: none; border-left: none;"&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height: 15.0pt; border-top: none; border-left: none;"&gt;344&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height: 15.0pt; border-top: none; border-left: none;"&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height: 15.0pt; border-top: none; border-left: none;"&gt;667&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height: 15.0pt; border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD align="right" class="xl65" height="20" style="height: 15.0pt; border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #800000;"&gt;&lt;STRONG&gt;3212&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On which basis 3212 value would come ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 06:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763189#M1025180</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2015-03-09T06:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum-up only the maximum values based on particular Field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763190#M1025181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is each and every Part.No Values(Rates) based on Serial Number. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 06:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763190#M1025181</guid>
      <dc:creator />
      <dc:date>2015-03-09T06:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum-up only the maximum values based on particular Field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763191#M1025182</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;The maximum values are subtotals. You should not load these, rather let QV calculate the totals. Or load only the subtotals and not the detail if that is what you require. What you should not do is load both as every expression in your data model will be more complex and (if your data set is large) may perform very badly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This script will exclude the subtotals:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Pre:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD [Sales Order], &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Customer ID], &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Serial Number], &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Net Value],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowNo() As RowID&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FrOM &lt;C&gt;&lt;/C&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(ooxml, embedded labels, table is Sheet1, filters(&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Replace(1, top, StrCnd(null)),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Replace(2, top, StrCnd(null)),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Replace(3, top, StrCnd(null))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Final:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD [Sales Order], &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Customer ID], &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Serial Number], &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Net Value],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowID&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Pre&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where [Sales Order] = Previous([Sales Order])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; AND [Customer ID] = Previous([Customer ID])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; AND ([Serial Number]) = Previous ([Serial Number])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Order By RowID DESC;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Pre;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can use display the data in a straight table with&amp;nbsp; [Sales Order],&amp;nbsp; [Customer ID], [Serial Number] as dimensions and Sum([Net Value]) in an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 06:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sum-up-only-the-maximum-values-based-on-particular-Field/m-p/763191#M1025182</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-03-09T06:48:43Z</dc:date>
    </item>
  </channel>
</rss>

