<?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 How to multiply from one cell to another? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484168#M1147124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i multiply the following tables in code for the script editor? For example I need to be able to multiple 55.02 by 2795 to give me "153,70.90"&amp;nbsp; the "Grand Total". What script do I write?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total Area per Key,&amp;nbsp; 55.02 ,&amp;nbsp; 99.33 ,&amp;nbsp; 118.31 ,&amp;nbsp; 123.11 ,&amp;nbsp; 127.91&lt;BR /&gt;&lt;BR /&gt; Overall Total Cost per m2, 2795 , 2954 , 3397 , 3677 , 3898&lt;BR /&gt;&lt;BR /&gt; Grand Total, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Aug 2013 09:50:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-12T09:50:30Z</dc:date>
    <item>
      <title>How to multiply from one cell to another?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484168#M1147124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i multiply the following tables in code for the script editor? For example I need to be able to multiple 55.02 by 2795 to give me "153,70.90"&amp;nbsp; the "Grand Total". What script do I write?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total Area per Key,&amp;nbsp; 55.02 ,&amp;nbsp; 99.33 ,&amp;nbsp; 118.31 ,&amp;nbsp; 123.11 ,&amp;nbsp; 127.91&lt;BR /&gt;&lt;BR /&gt; Overall Total Cost per m2, 2795 , 2954 , 3397 , 3677 , 3898&lt;BR /&gt;&lt;BR /&gt; Grand Total, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 09:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484168#M1147124</guid>
      <dc:creator />
      <dc:date>2013-08-12T09:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply from one cell to another?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484169#M1147125</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;Are these fields in the same record? If yes, the answer is like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13763012166167121" jivemacro_uid="_13763012166167121"&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Area per Key] &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;* [Overall Total Cost per m2] AS [Grand Total]; // this is a new field you create into QlikView&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM SourceTable;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, then there must be a key field that links one table to the other, and the use of ApplyMap() will do here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13763012733582655" jivemacro_uid="_13763012733582655"&gt;&lt;P&gt;TableAreaMap:&lt;/P&gt;&lt;P&gt;MAPPING LOAD KeyField,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;[Total Area per Key]&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;SQL SELECT KeyField, &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;[Total Area per Key] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;FROM SourceTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;TableTotal:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;LOAD *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;TableAreaMap&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;', KeyField) AS &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;[Total Area per Key]&lt;/SPAN&gt;, // so you have this value in the second table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;TableAreaMap&lt;/SPAN&gt;', KeyField) &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;* [Overall Total Cost per m2] AS [Grand Total]; // this is a new field you create into QlikView&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;FROM SourceTable2;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 09:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484169#M1147125</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2013-08-12T09:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply from one cell to another?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484170#M1147126</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;This is what the record in the script editor looks like. I will try out the instructions above as well. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OverallCostperBuildNewKey:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;&lt;BR /&gt; IHG Brand (New Build),Holiday Inn Express (New Build), Holiday Inn (New Build), Crowne Plaza (New Build), Indigo Hotel (New Build), InterContinental (New Build)&lt;BR /&gt;&lt;BR /&gt; Total Area per Key,&amp;nbsp; 55.02 ,&amp;nbsp; 99.33 ,&amp;nbsp; 118.31 ,&amp;nbsp; 123.11 ,&amp;nbsp; 127.91&lt;BR /&gt;&lt;BR /&gt; Overall Total Cost per m2, 2795 , 2954 , 3397 , 3677 , 3898&lt;BR /&gt;&lt;BR /&gt; Grand Total, &lt;BR /&gt;&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 10:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484170#M1147126</guid>
      <dc:creator />
      <dc:date>2013-08-12T10:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply from one cell to another?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484171#M1147127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that correct? Its not working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OverallCostperBuildNewKey:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;&lt;BR /&gt; IHG Brand (New Build),Holiday Inn Express (New Build), Holiday Inn (New Build), Crowne Plaza (New Build), Indigo Hotel (New Build), InterContinental (New Build)&lt;BR /&gt;&lt;BR /&gt; Total Area per Key,&amp;nbsp; 55.02 ,&amp;nbsp; 99.33 ,&amp;nbsp; 118.31 ,&amp;nbsp; 123.11 ,&amp;nbsp; 127.91&lt;BR /&gt;&lt;BR /&gt; Overall Total Cost per m2, 2795 , 2954 , 3397 , 3677 , 3898&lt;BR /&gt;&lt;BR /&gt; Grand Total, &lt;BR /&gt;&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Table1:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total Area per Key]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Overall Total Cost per m2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Grand Total]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt;&lt;BR /&gt;FROM SourceTable 'OverallCostperBuildNewKey' ;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 10:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484171#M1147127</guid>
      <dc:creator />
      <dc:date>2013-08-12T10:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply from one cell to another?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484172#M1147128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OverallCostperBuildNewKey:&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *, &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total Area per Key]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Overall Total Cost per m2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Grand Total]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; IHG Brand (New Build), Total Area per Key, Overall Total Cost per m2&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Holiday Inn Express (New Build), 55.02, 2795&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; Holiday Inn (New Build),99.33, 2954&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Crowne Plaza (New Build), 118.31, 3397&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; Indigo Hotel (New Build), 123.11, 3677&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;InterContinental (New Build),127.91, 3898&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 11:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484172#M1147128</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-08-12T11:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply from one cell to another?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484173#M1147129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you swuehl. It works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 11:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply-from-one-cell-to-another/m-p/484173#M1147129</guid>
      <dc:creator />
      <dc:date>2013-08-12T11:20:26Z</dc:date>
    </item>
  </channel>
</rss>

