<?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 to add sales of two products in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089555#M929062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am facing the same issue with the Expected total cost in the second table. could you please help ,me&amp;nbsp; to add those values. Please find the snapshot below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118295_Capture1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I want to add the Expected Total cost of both the products. Kindly help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 17:13:58 GMT</pubDate>
    <dc:creator>farheenayesha</dc:creator>
    <dc:date>2016-03-16T17:13:58Z</dc:date>
    <item>
      <title>How to add sales of two products</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089551#M929058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a scenario where i have to add total sales(Expected Sales) of two products(Product A and Product B). &lt;/P&gt;&lt;P&gt;Please find the snapshot below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118273_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I want to get the result as $69,750,000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;P&gt;Please find the Qvw file attached. !&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-to-add-sales-of-two-products/m-p/1089551#M929058</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to add sales of two products</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089552#M929059</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 Aggr((if(Products='Product A' or Products='Product B',[Confirmed Orders(Qty)])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(if(Products='Product A',30000,40000))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(1+if(Products='Product A',Price_Esc_A_%,Price_Esc_B_%))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(if(Products='Product A',Profitability_CO_A,Profitabilty_CO_B)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+(if(Products='Product A' or Products='Product B',[High Risk(Qty)])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(if(Products='Product A',30000,40000))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(1+if(Products='Product A',Price_Esc_A_%,Price_Esc_B_%))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*if(Products='Product A',$(High_Risk_A),$(High_Risk_B))), Products))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118285_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 15:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089552#M929059</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T15:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add sales of two products</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089553#M929060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much 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>Wed, 16 Mar 2016 16:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089553#M929060</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2016-03-16T16:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to add sales of two products</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089554#M929061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 17:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089554#M929061</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T17:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to add sales of two products</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089555#M929062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am facing the same issue with the Expected total cost in the second table. could you please help ,me&amp;nbsp; to add those values. Please find the snapshot below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118295_Capture1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I want to add the Expected Total cost of both the products. Kindly help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 17:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089555#M929062</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2016-03-16T17:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to add sales of two products</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089556#M929063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You won't be able to use the column labels, but this gets you what you are looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum(TOTAL Aggr((if(Products='Product A' or Products='Product B',if(Products='Product A',[Material Cost / Unit]*(1-Expected_Productivity_1),[Material Cost / Unit]*(1-Expected_Productivity_1_B)))*(sum(if(Products='Product A' or Products='Product B',[Confirmed Orders(Qty)])) + sum(if(Products='Product A' or Products='Product B',[High Risk(Qty)]))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+(if(Products='Product A' or Products='Product B',if(Products='Product A',[Labor Cost/Unit]*(1-Expected_Productivity_2),[Labor Cost/Unit]*(1-Expected_Productivity_2_B)))*(sum(if(Products='Product A' or Products='Product B',[Confirmed Orders(Qty)])) + sum(if(Products='Product A' or Products='Product B',[High Risk(Qty)]))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+(if(Products='Product A' or Products='Product B',if(Products='Product A',[Transportation Cost/Unit]*(1-Expected_Productivity_3),[Transportation Cost/Unit]*(1-Expected_Productivity_3_B)))*(sum(if(Products='Product A' or Products='Product B',[Confirmed Orders(Qty)])) + sum(if(Products='Product A' or Products='Product B',[High Risk(Qty)])))), Products))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 17:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089556#M929063</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T17:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add sales of two products</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089557#M929064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Could you please tell how to use those expressions in text box? i have to show the total expected sales in text box but when i use those exp in text box i am getting blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 23:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089557#M929064</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2016-03-16T23:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to add sales of two products</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089558#M929065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to be working for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Money(Sum(Aggr((if(Products='Product A' or Products='Product B',[Confirmed Orders(Qty)])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(if(Products='Product A',30000,40000))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(1+if(Products='Product A',Price_Esc_A_%,Price_Esc_B_%))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(if(Products='Product A',Profitability_CO_A,Profitabilty_CO_B)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+(if(Products='Product A' or Products='Product B',[High Risk(Qty)])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(if(Products='Product A',30000,40000))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(1+if(Products='Product A',Price_Esc_A_%,Price_Esc_B_%))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*if(Products='Product A',$(High_Risk_A),$(High_Risk_B))), Products)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Money(Sum(Aggr((if(Products='Product A' or Products='Product B',if(Products='Product A',[Material Cost / Unit]*(1-Expected_Productivity_1),[Material Cost / Unit]*(1-Expected_Productivity_1_B)))*(sum(if(Products='Product A' or Products='Product B',[Confirmed Orders(Qty)])) + sum(if(Products='Product A' or Products='Product B',[High Risk(Qty)]))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+(if(Products='Product A' or Products='Product B',if(Products='Product A',[Labor Cost/Unit]*(1-Expected_Productivity_2),[Labor Cost/Unit]*(1-Expected_Productivity_2_B)))*(sum(if(Products='Product A' or Products='Product B',[Confirmed Orders(Qty)])) + sum(if(Products='Product A' or Products='Product B',[High Risk(Qty)]))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+(if(Products='Product A' or Products='Product B',if(Products='Product A',[Transportation Cost/Unit]*(1-Expected_Productivity_3),[Transportation Cost/Unit]*(1-Expected_Productivity_3_B)))*(sum(if(Products='Product A' or Products='Product B',[Confirmed Orders(Qty)])) + sum(if(Products='Product A' or Products='Product B',[High Risk(Qty)])))), Products)))&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/118319_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 01:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089558#M929065</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-17T01:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add sales of two products</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089559#M929066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny you are genius. Appreciate your knowledge and your great help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Thank you so much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 06:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-sales-of-two-products/m-p/1089559#M929066</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2016-03-17T06:05:19Z</dc:date>
    </item>
  </channel>
</rss>

