<?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 do I choose total? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-choose-total/m-p/217064#M70313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The difference between the two expressions is that in first one you are adding the values first and then multiplying them, where as in second one you multiply and calculate the sum of the inventory value,&lt;/P&gt;&lt;P&gt;The second one is correct because it will give you sum of inventory value.&lt;/P&gt;&lt;P&gt;Also in the Pivot table you can select the Show Partial Sum from the Presentation tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2010 05:25:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-20T05:25:42Z</dc:date>
    <item>
      <title>How do I choose total?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-choose-total/m-p/217063#M70312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am a Chinese,My English is very poor?&lt;!--StartFragment --&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="file:///C:/DOCUME~1/QIANLA~1/LOCALS~1/Temp/WVBX3D$7(E{8G)IK0RN2_VY.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 372pt; border-collapse: collapse;" width="494"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 59pt; mso-width-source: userset; mso-width-alt: 2528;" width="79" /&gt;&lt;COL style="width: 68pt; mso-width-source: userset; mso-width-alt: 2880;" width="90" /&gt;&lt;COL style="width: 61pt; mso-width-source: userset; mso-width-alt: 2592;" width="81" /&gt;&lt;COL style="width: 55pt; mso-width-source: userset; mso-width-alt: 2336;" width="73" /&gt;&lt;COL style="width: 59pt; mso-width-source: userset; mso-width-alt: 2496;" width="78" /&gt;&lt;COL style="width: 70pt; mso-width-source: userset; mso-width-alt: 2976;" width="93" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="19" style="height: 14.25pt;"&gt;&lt;TD class="xl24" height="19" style="width: 59pt; height: 14.25pt; background-color: transparent; border: #d4d0c8;" width="79"&gt;Product Code&lt;/TD&gt;&lt;TD class="xl24" style="width: 68pt; background-color: transparent; border: #d4d0c8;" width="90"&gt;Inventory Qty&lt;/TD&gt;&lt;TD class="xl24" style="width: 61pt; background-color: transparent; border: #d4d0c8;" width="81"&gt;Sales Amt&lt;/TD&gt;&lt;TD class="xl24" style="width: 55pt; background-color: transparent; border: #d4d0c8;" width="73"&gt;Sales Qty&lt;/TD&gt;&lt;TD class="xl24" style="width: 59pt; background-color: transparent; border: #d4d0c8;" width="78"&gt;Sales Price&lt;/TD&gt;&lt;TD class="xl24" style="width: 70pt; background-color: transparent; border: #d4d0c8;" width="93"&gt;Inventory Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="19" style="height: 14.25pt;"&gt;&lt;TD class="xl24" height="19" style="height: 14.25pt; background-color: transparent; border: #d4d0c8;"&gt;Product-A&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;"&gt;100&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;"&gt;10000&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;"&gt;1000&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;" fmla="=C2/D2"&gt;10&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;" fmla="=B2*E2"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="19" style="height: 14.25pt;"&gt;&lt;TD class="xl24" height="19" style="height: 14.25pt; background-color: transparent; border: #d4d0c8;"&gt;Product-B&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;"&gt;200&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;"&gt;80000&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;"&gt;1000&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;" fmla="=C3/D3"&gt;80&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;" fmla="=B3*E3"&gt;16000&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="19" style="height: 14.25pt;"&gt;&lt;TD class="xl24" height="19" style="height: 14.25pt; background-color: transparent; border: #d4d0c8;"&gt;Product-C&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;"&gt;300&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;"&gt;90000&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;"&gt;1000&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;" fmla="=C4/D4"&gt;90&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;" fmla="=B4*E4"&gt;27000&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="19" style="height: 14.25pt;"&gt;&lt;TD class="xl24" height="19" style="height: 14.25pt; background-color: transparent; border: #d4d0c8;"&gt;Total&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;" fmla="=SUM(B2:B4)"&gt;600&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;" fmla="=SUM(C2:C4)"&gt;180000&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;" fmla="=SUM(D2:D4)"&gt;3000&lt;/TD&gt;&lt;TD class="xl24" style="background-color: transparent; border: #d4d0c8;" fmla="=C5/D5"&gt;60&lt;/TD&gt;&lt;TD class="xl25" style="background-color: transparent; border: #d4d0c8;" fmla="=SUM(F2:F4)"&gt;44000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;product code ?inventory qty?sales amt?sales qty is dimensions&lt;BR /&gt;sales price is expression? sales amt / sales qty&lt;BR /&gt;inventory value is expression?inventory qty * sales price&lt;/P&gt;&lt;P&gt;i use Pivot chart.&lt;BR /&gt;total line have a problem&lt;BR /&gt;total sales price = total sales amt / total sales qty is OK.&lt;BR /&gt;total inventory value = total inventory qty * total sales price = &lt;STRONG&gt;36000&lt;/STRONG&gt;&lt;BR /&gt;BUT total inventory value is 1000+ 16000 + 27000 = &lt;STRONG&gt;44000&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;There should be two kinds of totals.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;A: use total line (eg.total sales price = total sales amt / total sales qty )&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;B: sum colume(eg.total inventory value is 1000+ 16000 + 27000 = 44000)&lt;/P&gt;&lt;P&gt;How do I choose?&lt;/P&gt;&lt;P&gt;qlikview is choose A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My English is very poor, Do you understand my expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 03:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-choose-total/m-p/217063#M70312</guid>
      <dc:creator />
      <dc:date>2010-01-20T03:53:27Z</dc:date>
    </item>
    <item>
      <title>How do I choose total?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-choose-total/m-p/217064#M70313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The difference between the two expressions is that in first one you are adding the values first and then multiplying them, where as in second one you multiply and calculate the sum of the inventory value,&lt;/P&gt;&lt;P&gt;The second one is correct because it will give you sum of inventory value.&lt;/P&gt;&lt;P&gt;Also in the Pivot table you can select the Show Partial Sum from the Presentation tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 05:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-choose-total/m-p/217064#M70313</guid>
      <dc:creator />
      <dc:date>2010-01-20T05:25:42Z</dc:date>
    </item>
    <item>
      <title>How do I choose total?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-choose-total/m-p/217065#M70314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your promptly reply.&lt;/P&gt;&lt;P&gt;in this case&lt;BR /&gt;A: use total line (eg.total sales price = total sales amt / total sales qty )&lt;BR /&gt;adding the values first and then multiplying them&lt;/P&gt;&lt;P&gt;B: sum column(eg.total inventory value is 1000+ 16000 + 27000 = 44000)&lt;BR /&gt; multiply and calculate the sum of the inventory value,&lt;/P&gt;&lt;P&gt;select the Show Partial Sum from the Presentation tab&lt;BR /&gt;The result is A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 05:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-choose-total/m-p/217065#M70314</guid>
      <dc:creator />
      <dc:date>2010-01-20T05:47:50Z</dc:date>
    </item>
  </channel>
</rss>

