<?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 from another field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248199#M868164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;lets say if i select item 1, i would like to see the qty of all oils&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" width="266"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="80"&gt;sku&lt;/TD&gt;&lt;TD class="xl63" width="54"&gt;type&lt;/TD&gt;&lt;TD class="xl63" width="38"&gt;qty&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;sub qty (oil)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl63"&gt;finished&lt;/TD&gt;&lt;TD class="xl63"&gt;10&lt;/TD&gt;&lt;TD class="xl63"&gt;39&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;thansk &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2016 14:50:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-12T14:50:00Z</dc:date>
    <item>
      <title>Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248197#M868162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hey friends&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i have a problem showing the the inventory qtyf rom another field which is linked (BOM).&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Basically i have 3 tables&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1. Inventory figures by Item&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. item relations (Multilevel BOM)&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3. Item data ( item informations such&amp;nbsp; type and so on....)&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146358_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now i would like to show the stock of an subassambly by expression. Tried planty of things, but somehow i just dont get it done. how should the expression look like?&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/146359_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i have attached a sample .qvw which is reflecting my RL data&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Would be great if somebody could help&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Many thanks and rgs&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Rob&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/Sum-from-another-field/m-p/1248197#M868162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248198#M868163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you expecting to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 14:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248198#M868163</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-12T14:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248199#M868164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;lets say if i select item 1, i would like to see the qty of all oils&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" width="266"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="80"&gt;sku&lt;/TD&gt;&lt;TD class="xl63" width="54"&gt;type&lt;/TD&gt;&lt;TD class="xl63" width="38"&gt;qty&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;sub qty (oil)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl63"&gt;finished&lt;/TD&gt;&lt;TD class="xl63"&gt;10&lt;/TD&gt;&lt;TD class="xl63"&gt;39&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;thansk &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 14:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248199#M868164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-12T14:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248200#M868165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL {&amp;lt;[SKU NO], TYPE = {'Oil'}&amp;gt;}QTY) * Avg(1)&lt;/STRONG&gt;&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/146371_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 14:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248200#M868165</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-12T14:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248201#M868166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it should just show the figures from&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="121"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="54"&gt;3&lt;/TD&gt;&lt;TD class="xl65" width="22"&gt;,&lt;/TD&gt;&lt;TD width="45"&gt;Oil&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;4&lt;/TD&gt;&lt;TD class="xl65"&gt;,&lt;/TD&gt;&lt;TD&gt;Oil&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;5&lt;/TD&gt;&lt;TD class="xl65"&gt;,&lt;/TD&gt;&lt;TD&gt;Oil&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should be able to add the dim sub if required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146381_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result should be&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="240"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="80"&gt;Item&lt;/TD&gt;&lt;TD width="80"&gt;Type&lt;/TD&gt;&lt;TD width="80"&gt;Sub qty (type oil)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;TD&gt;finished&lt;/TD&gt;&lt;TD class="xl65"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;TD&gt;finished&lt;/TD&gt;&lt;TD class="xl65"&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;TD&gt;finished&lt;/TD&gt;&lt;TD class="xl65"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 15:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248201#M868166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-12T15:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248202#M868167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I understand the logic behind this? Would you be able to explain what you are trying to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 15:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248202#M868167</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-12T15:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248203#M868168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sure! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say i have an SKU NO 1, which is build of components (SUB) 3 and 4. Now i would like to display by expresion the Sub stock quantities from the SKU NO. The link which Sub belongs to which item is done in the relation table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like sum({&amp;lt;Item = {'&lt;EM&gt;sub from the relation table'}&lt;/EM&gt; , Type = {'Oil'}&amp;gt;} QTY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result should be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 360px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="80"&gt;Dim&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="80"&gt;Dim&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="200"&gt;Expression (qty from sub oil)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;SKU NO&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;SUB &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;QTY &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression should also work if Dim SUB is removed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="267"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="80"&gt;Dim&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="187"&gt;Expression (qty from sub oil)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;SKU NO&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;QTY &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;39&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 08:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248203#M868168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-13T08:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248204#M868169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your exp should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 09:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248204#M868169</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-12-13T09:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248205#M868170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hi, can you eventually add the expression to the sample .&lt;SPAN&gt;qvw&lt;/SPAN&gt; attached? &lt;SPAN&gt;Would&lt;/SPAN&gt; be great, as &lt;SPAN&gt;i&lt;/SPAN&gt; &lt;SPAN&gt;couldnt&lt;/SPAN&gt; get it work ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks Varsha &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 10:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248205#M868170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-13T10:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248206#M868171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using personal edition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 10:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248206#M868171</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-12-13T10:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248207#M868172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="146461" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146461_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can Hide the type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="146462" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/146462_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this ok ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I guess my "SUB" is your "SKU NO"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 11:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248207#M868172</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-12-13T11:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248208#M868173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here we go, sample data for upload&lt;/P&gt;&lt;P&gt;InventoryQTY:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;SKU NO&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QTY&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18&lt;/P&gt;&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOM:&lt;/P&gt;&lt;P&gt;load * Inline [&lt;/P&gt;&lt;P&gt;SKU NO&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; SubAssembly&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; 3];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ItemInfo:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;SKU NO&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; Finish&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; Finish&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; Oil&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; Oil&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; Oil&lt;/P&gt;&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; Fuel&lt;/P&gt;&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; Fuel&lt;/P&gt;&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp; Fuel];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if all works the result should be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="337"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="80"&gt;Dim&lt;/TD&gt;&lt;TD class="xl65" width="90"&gt;Dim&lt;/TD&gt;&lt;TD class="xl65" width="167"&gt;Expression(qty from Sub)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;SKU NO&lt;/TD&gt;&lt;TD class="xl66"&gt;SubAssembly&lt;/TD&gt;&lt;TD class="xl66"&gt;QTY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl66"&gt;3&lt;/TD&gt;&lt;TD class="xl66"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl66"&gt;4&lt;/TD&gt;&lt;TD class="xl66"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl66"&gt;5&lt;/TD&gt;&lt;TD class="xl66"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl66"&gt;6&lt;/TD&gt;&lt;TD class="xl66"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl66"&gt;7&lt;/TD&gt;&lt;TD class="xl66"&gt;22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl66"&gt;8&lt;/TD&gt;&lt;TD class="xl66"&gt;24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl66"&gt;3&lt;/TD&gt;&lt;TD class="xl66"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or without SubAssembly Dim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="252"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="80"&gt;Dim&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="172"&gt;Expression(qty from Sub)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;SKU NO&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;QTY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;114&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if the item type oil is specified, with and without SubAssembly as dimension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="310"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="80"&gt;Dim&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="230"&gt;Expression(qty from Sub, type = oil)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;SKU NO&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;QTY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;48&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="400"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="80"&gt;Dim&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="90"&gt;Dim&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="230"&gt;Expression(qty from Sub, type = oil)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;SKU NO&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;SubAssembly&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;QTY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thansk for your support &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 11:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248208#M868173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-13T11:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248209#M868174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I will check with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 11:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248209#M868174</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-12-13T11:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248210#M868175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you are considering SKU NO as SubAssembly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Considering the first record from your output,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146464_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &lt;STRONG&gt;SKU NO is 3&lt;/STRONG&gt; , SubAssembly is 3 then the value should be 14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, if &lt;STRONG&gt;SKU NO is 1&lt;/STRONG&gt;,&amp;nbsp;&amp;nbsp; SubAssembly is 3 then the value should be 10.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 11:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248210#M868175</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-12-13T11:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248211#M868176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you have a look to my sample to upload above? Bassically the step to link the qty is missing in your sample. What im trying is to get the also the QTY from the SKU NO in your sample &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 11:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248211#M868176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-13T11:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248212#M868177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jep i need both informations&lt;/P&gt;&lt;P&gt;SKU NO, QTY, SubAssembly, QTY&lt;/P&gt;&lt;P&gt;1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="text-decoration: underline;"&gt;14&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt; this fieldvalue i need&lt;/SPAN&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to display the figures from the InventoryQTY Table (SKU NO) and adding a dimension (SubAssembly) and displaying the item type 'Oil' is not my problem.&lt;/P&gt;&lt;P&gt;this could be easely solved by&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Type = {'Oil'}&amp;gt;} QTY) expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but im looking for an expression which will tell me the qty of the SubAssembly. So bassically i need to use the SubAssembly fieldvalue from the BOM: table and check in the InventoryQTY table, what the stock is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 11:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248212#M868177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-13T11:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248213#M868178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to leave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the script of the attached app.&lt;/P&gt;&lt;P&gt;Read the comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146467_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248213#M868178</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-12-13T12:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248214#M868179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok i will check, hope it will work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks for your support!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 12:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248214#M868179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-13T12:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248215#M868180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your app you have renamed the field [SKU NO] into [SubAssembly] and the [SubAssembly] the other way around.&lt;/P&gt;&lt;P&gt;Doing this i will loose still one qty information. [SKU NO] quantity is mandatory, additionally i need the quantity from the subassembly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample&lt;/P&gt;&lt;P&gt;SKU NO, QTY,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubAssembly,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QTY&lt;/P&gt;&lt;P&gt;1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="text-decoration: underline;"&gt;14&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt; this fieldvalue i need&lt;/SPAN&gt; &lt;SPAN class="emoticon-inline emoticon_happy"&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to display the figures from the InventoryQTY Table (SKU NO) and adding a dimension (SubAssembly) and displaying the item type 'Oil' is not my problem.&lt;/P&gt;&lt;P&gt;this could be easely solved by&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Type = {'Oil'}&amp;gt;} QTY) as expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but im looking for an expression which will tell me the qty of the SubAssembly. So bassically i need to use the SubAssembly fieldvalue from the BOM: table and check in the InventoryQTY table, what the stock QTY is.&lt;/P&gt;&lt;P&gt;something like&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Item = {'&lt;EM&gt;sub from the relation table'}&lt;/EM&gt; , Type = {'Oil'}&amp;gt;} QTY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thänks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 14:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248215#M868180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-13T14:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sum from another field</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248216#M868181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahha! I understood,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need something where we can assign SubAssembly number to SKU NO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[SKU NO]={"$(=([SubAssembly]))"}&amp;gt;}QTY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure about its working.&lt;/P&gt;&lt;P&gt;I will try and let you know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 04:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-from-another-field/m-p/1248216#M868181</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-12-14T04:15:19Z</dc:date>
    </item>
  </channel>
</rss>

