<?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: Multiplying by a specific cell in a table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Multiplying-by-a-specific-cell-in-a-table/m-p/2418794#M95448</link>
    <description>&lt;P&gt;Expected results would be for Material Number A $857,004(Total Sales) *.6 = $514,202.4. Then for Material Number B and C we want to take the Total sales of A ($857,004) *.4 = $342.801.6. So, I would expect that total to show up in the consumption column for the Material Number B and C row.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2024 13:31:01 GMT</pubDate>
    <dc:creator>Drece-gkn</dc:creator>
    <dc:date>2024-02-14T13:31:01Z</dc:date>
    <item>
      <title>Multiplying by a specific cell in a table</title>
      <link>https://community.qlik.com/t5/App-Development/Multiplying-by-a-specific-cell-in-a-table/m-p/2418426#M95416</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First let me show you the screenshot of my table to help get a understanding of my data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Drecegkn_1-1707849611904.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159673iFA132FD3CC9A2697/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Drecegkn_1-1707849611904.png" alt="Drecegkn_1-1707849611904.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To the left of total sales(a) are Part numbers but I am not allowed to show those. In order to explain what I am trying to accomplish I will call the 3 part numbers A, B and C. Part number A = $857,004(Total Sales), but I need to split this cost between the 3 parts and put that cost in the new column "Consumption". I successfully split the total sales for part number A using the equation&amp;nbsp;If([Material Number] = 'A', [Total Sales]*.6, which equals that $514,202.40 number you see. But I have not been able to figure out how to split it for B and C. Basically, for part number B and C I need to multiply the Total sales of part number A by .4. The equation I was trying to use was&amp;nbsp;If([Material Number] = 'B' or [Material Number = 'C', if([Material Number] = 'A', [Total Sales]*4,' '))), but this does not work. I know the nested If isn't correct but I haven't been able to figure out the logic I need to use to solve this. Any Ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 18:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiplying-by-a-specific-cell-in-a-table/m-p/2418426#M95416</guid>
      <dc:creator>Drece-gkn</dc:creator>
      <dc:date>2024-02-13T18:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplying by a specific cell in a table</title>
      <link>https://community.qlik.com/t5/App-Development/Multiplying-by-a-specific-cell-in-a-table/m-p/2418505#M95426</link>
      <description>&lt;P&gt;can you post some sample dummy data with expected outputs?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 03:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiplying-by-a-specific-cell-in-a-table/m-p/2418505#M95426</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2024-02-14T03:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplying by a specific cell in a table</title>
      <link>https://community.qlik.com/t5/App-Development/Multiplying-by-a-specific-cell-in-a-table/m-p/2418794#M95448</link>
      <description>&lt;P&gt;Expected results would be for Material Number A $857,004(Total Sales) *.6 = $514,202.4. Then for Material Number B and C we want to take the Total sales of A ($857,004) *.4 = $342.801.6. So, I would expect that total to show up in the consumption column for the Material Number B and C row.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 13:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiplying-by-a-specific-cell-in-a-table/m-p/2418794#M95448</guid>
      <dc:creator>Drece-gkn</dc:creator>
      <dc:date>2024-02-14T13:31:01Z</dc:date>
    </item>
  </channel>
</rss>

