<?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: How sum with difirent dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257976#M863466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi irmantas,&lt;/P&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Price),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(TOTAL &amp;lt;BOM_id&amp;gt; {&amp;lt;BOM_id=P({&amp;lt;Item_id={'PA-60*'}&amp;gt;}BOM_id)&amp;gt;} QTY*Price)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As price are chars on PA-60* you can sum all price for all records.&lt;/P&gt;&lt;P&gt;On the second part of expresion, you can sum total of each BOM_id, where the BOM_id have one item like PA-60*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jan 2017 08:41:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-03T08:41:32Z</dc:date>
    <item>
      <title>How sum with difirent dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257970#M863452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new at Qlik, and can't creat Expression for my appl.&lt;/P&gt;&lt;P&gt;I have this data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 299px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="97"&gt;BOM_id&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="77"&gt;Item_id&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="57"&gt;QTY&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="68"&gt;Price&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-0001-001&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-12001&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-0001-001&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-12006&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-0001-001&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-60001&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;??&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-0001-001&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-35001&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-0001-002&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-12001&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-0001-002&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-12006&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;5,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-0001-002&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-60001&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;??&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-0001-002&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-35001&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-60001-001&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-4447&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-60001-001&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-4544&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0,5&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-60001-001&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-8545&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-60001-002&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-4447&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-60001-002&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-4544&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0,3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;PA-60001-002&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;PA-8545&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0,8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need sum total price per BOM_id and Item_id, but were Item_id begins with PA-60*, I need sum all BOM_id, begins PA-60* and ends with father BOM_id 3 digits end.&lt;/P&gt;&lt;P&gt;Exempl:&lt;/P&gt;&lt;P&gt;(BOM_id) PA-0001-001&amp;nbsp;&amp;nbsp; (Item_id) PA-60001 to find price, must sum all&amp;nbsp; (BOM_id) PA-60001-001 (QTY*Price) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;I hope it is not too complicated &lt;SPAN&gt;explanation&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257970#M863452</guid>
      <dc:creator>irmantas</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How sum with difirent dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257971#M863453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression: sum({&amp;lt;BOM_id={'PA-60*'}&amp;gt;}QTY*Price)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 16:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257971#M863453</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-01-02T16:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: How sum with difirent dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257972#M863457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou Gysbert,&lt;/P&gt;&lt;P&gt;But something wrong. Do not works. Full line of expression is:&lt;/P&gt;&lt;P&gt;=if(wildmatch(ITEM_ID, '*PA-6*'),sum({&amp;lt;BOM_ID={'PA-6*'}&amp;gt;}QTY*Price),Sum (Price))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 18:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257972#M863457</guid>
      <dc:creator>irmantas</dc:creator>
      <dc:date>2017-01-02T18:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: How sum with difirent dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257973#M863460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are trying it in a Textbox? even so you only need what &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌‌ posted, remove the if()condition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 20:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257973#M863460</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-02T20:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: How sum with difirent dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257974#M863463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So for PA-0001-001 you would like to see like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1*0.5 + 2*1.5 = 3.5?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is right, then may be you need this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=If(WildMatch(ITEM_ID, '*PA-6*'), Sum(&lt;SPAN style="color: #ff0000;"&gt;TOTAL &amp;lt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;BOM_id&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt; {&amp;lt;BOM_ID={'PA-6*'}&amp;gt;} QTY*Price), Sum(Price))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 22:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257974#M863463</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-02T22:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: How sum with difirent dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257975#M863465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is right, PA-0001-&lt;STRONG&gt;001&lt;/STRONG&gt; I would like to see like this:&lt;/P&gt;&lt;P&gt;1*0.5+2*1.5+1*??+1*3.5=....&lt;/P&gt;&lt;P&gt;Were '??' must be a sum of all PA-60001-&lt;STRONG&gt;001 &lt;/STRONG&gt;like this: 2*1,5+0.5*2.5+2*3.5=11.25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So PA-0001-001 like to see like this: 1*0.5+2*1.5+1*11.25+1*3.5=18.25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;Maybe now &lt;SPAN&gt;more clearly&lt;/SPAN&gt; &lt;SPAN&gt;explained &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 08:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257975#M863465</guid>
      <dc:creator>irmantas</dc:creator>
      <dc:date>2017-01-03T08:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: How sum with difirent dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257976#M863466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi irmantas,&lt;/P&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Price),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(TOTAL &amp;lt;BOM_id&amp;gt; {&amp;lt;BOM_id=P({&amp;lt;Item_id={'PA-60*'}&amp;gt;}BOM_id)&amp;gt;} QTY*Price)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As price are chars on PA-60* you can sum all price for all records.&lt;/P&gt;&lt;P&gt;On the second part of expresion, you can sum total of each BOM_id, where the BOM_id have one item like PA-60*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 08:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257976#M863466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-03T08:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: How sum with difirent dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257977#M863467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If(WildMatch(ITEM_ID, 'PA-6*'), Sum(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;TOTAL &amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;BOM_id&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt; QTY*Price), Sum(Price))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 12:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257977#M863467</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-03T12:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How sum with difirent dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257978#M863468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny, it's works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 07:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-sum-with-difirent-dimensions/m-p/1257978#M863468</guid>
      <dc:creator>irmantas</dc:creator>
      <dc:date>2017-01-11T07:46:49Z</dc:date>
    </item>
  </channel>
</rss>

