<?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: Calculating Total Weight from Product Masterdata Weight * Order Quantity in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-Total-Weight-Product-Masterdata-Weight-x-Order/m-p/389605#M1150251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the formula as below, but it still calculates wrongly: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SUM( AGGR ( SUM([OPEN ORDER QUANTITY]), [MATERIAL CODE]&amp;nbsp; ) )&amp;nbsp; * SUM( TOTAL&amp;nbsp; &amp;lt;[MATERIAL CODE], GROUP1&amp;gt; [UNITWEIGHT]&amp;nbsp; )&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 07:22:30 GMT</pubDate>
    <dc:creator>coskunist</dc:creator>
    <dc:date>2013-05-21T07:22:30Z</dc:date>
    <item>
      <title>Calculating: Total Weight =  Product Masterdata Weight x Order Quantity</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Total-Weight-Product-Masterdata-Weight-x-Order/m-p/389603#M1150249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help. I want to calculate: total weight of orders from product master data and order quantity.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My model is like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41392" alt="3.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/41392_3.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used a chart formatted as pivot, I have a calculated expression: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total Weight = Sum(open order quantity) * Sum(UNIT WEIGHT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41393" alt="1.jpg" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/41393_1.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that, when I drill up to GROUP1 as below, it gives wrong value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: 21 x 30, 37 = 637,82. But I need to calculate as 38,89 x 10 + 22,30 x 10 =&amp;nbsp; 611,9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41394" alt="2.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/41394_2.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 07:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Total-Weight-Product-Masterdata-Weight-x-Order/m-p/389603#M1150249</guid>
      <dc:creator>coskunist</dc:creator>
      <dc:date>2013-05-21T07:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Total Weight from Product Masterdata Weight * Order Quantity</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Total-Weight-Product-Masterdata-Weight-x-Order/m-p/389604#M1150250</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;Something like this, perhaps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(Sum([open order quantity]) * Sum([UNIT WEIGHT]), [MATERIAL CODE], GROUP1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 07:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Total-Weight-Product-Masterdata-Weight-x-Order/m-p/389604#M1150250</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-05-21T07:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Total Weight from Product Masterdata Weight * Order Quantity</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Total-Weight-Product-Masterdata-Weight-x-Order/m-p/389605#M1150251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the formula as below, but it still calculates wrongly: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SUM( AGGR ( SUM([OPEN ORDER QUANTITY]), [MATERIAL CODE]&amp;nbsp; ) )&amp;nbsp; * SUM( TOTAL&amp;nbsp; &amp;lt;[MATERIAL CODE], GROUP1&amp;gt; [UNITWEIGHT]&amp;nbsp; )&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 07:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Total-Weight-Product-Masterdata-Weight-x-Order/m-p/389605#M1150251</guid>
      <dc:creator>coskunist</dc:creator>
      <dc:date>2013-05-21T07:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Total Weight from Product Masterdata Weight * Order Quantity</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Total-Weight-Product-Masterdata-Weight-x-Order/m-p/389606#M1150252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My friend Serhan solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to do as : SUM ( OPEN_ORDER_QTY x UNITWEIGHT ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 16:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Total-Weight-Product-Masterdata-Weight-x-Order/m-p/389606#M1150252</guid>
      <dc:creator>coskunist</dc:creator>
      <dc:date>2013-05-21T16:12:40Z</dc:date>
    </item>
  </channel>
</rss>

