<?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 Equivalent to product() excel function in QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211966#M66077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I remember another post a long time ago on the same subject. I don't think there was a good answer, unfortunately. It does indicate that it's a recurring requirement, though, so something worth requesting as a new feature if it truly doesn't exist. It does seem a little silly to me to support sum() but not product(). Granted, people need sum() much more often than product(), but they're very similar in flavor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Jul 2010 01:02:37 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-07-03T01:02:37Z</dc:date>
    <item>
      <title>Equivalent to product() excel function in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211963#M66074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;is there any equivalent to the excel product() function in QlikView ?&lt;/P&gt;&lt;P&gt;It would consist in multiplying the values of a field or expression.&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;Base, Contract, Rate&lt;/P&gt;&lt;P&gt;B1, P1, 0.05&lt;/P&gt;&lt;P&gt;B1, P2, 0.02&lt;/P&gt;&lt;P&gt;B1, P3, 0.01&lt;/P&gt;&lt;P&gt;B2, P4, 0.17&lt;/P&gt;&lt;P&gt;What i would like is to get for the base B1 : 0.05*0.02*0.01=0.00001&lt;/P&gt;&lt;P&gt;One more thing, i don't want to precalculate this indicator during the script execution, i need to do it on the fly&lt;/P&gt;&lt;P&gt;Thanks for your anwers&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 00:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211963#M66074</guid>
      <dc:creator />
      <dc:date>2010-07-02T00:19:39Z</dc:date>
    </item>
    <item>
      <title>Equivalent to product() excel function in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211964#M66075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Making a quick search through the Help, I did not find something similar to the Product function. However, I was able to obtain the same result using the Concat function like this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;$(=Concat(Number, '*'))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I know it is not made for that purpose, but it works.&lt;/P&gt;&lt;P&gt;Attached is an example. (It is in RAR format because I got an error message saying that qvw files are not allowed...)&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/8103.test-product.rar:550:0]&lt;/P&gt;&lt;P&gt;Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 00:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211964#M66075</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2010-07-02T00:54:53Z</dc:date>
    </item>
    <item>
      <title>Equivalent to product() excel function in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211965#M66076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;I've already tried this. It actually works fine but for a small set of values to multiply&lt;/P&gt;&lt;P&gt;My problem is that i have lot of values...&lt;/P&gt;&lt;P&gt;Any other idea ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 06:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211965#M66076</guid>
      <dc:creator />
      <dc:date>2010-07-02T06:29:49Z</dc:date>
    </item>
    <item>
      <title>Equivalent to product() excel function in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211966#M66077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I remember another post a long time ago on the same subject. I don't think there was a good answer, unfortunately. It does indicate that it's a recurring requirement, though, so something worth requesting as a new feature if it truly doesn't exist. It does seem a little silly to me to support sum() but not product(). Granted, people need sum() much more often than product(), but they're very similar in flavor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jul 2010 01:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211966#M66077</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-03T01:02:37Z</dc:date>
    </item>
    <item>
      <title>Equivalent to product() excel function in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211967#M66078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wait, no, I found it!&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;exp(sum(log(Number)))&lt;/P&gt;&lt;P&gt;Makes perfect sense in hindsight. Isn't that exactly how slide rules work? My comment says, "This is the best possible general solution, I think. Thanks to Alexander Schubert for pointing out my dumb."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jul 2010 01:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211967#M66078</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-03T01:05:30Z</dc:date>
    </item>
    <item>
      <title>Equivalent to product() excel function in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211968#M66079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Jonh,&lt;/P&gt;&lt;P&gt;GREAT !!&lt;/P&gt;&lt;P&gt;It works perfectly.&lt;/P&gt;&lt;P&gt;I wish i could remind my maths lessons better...&lt;/P&gt;&lt;P&gt;Thank you and Alexander &lt;IMG alt="Yes" src="http://community.qlik.com/emoticons/emotion-21.gif" /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jul 2010 15:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211968#M66079</guid>
      <dc:creator />
      <dc:date>2010-07-03T15:13:11Z</dc:date>
    </item>
    <item>
      <title>Equivalent to product() excel function in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211969#M66080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm&lt;/P&gt;&lt;P&gt;and what about SUMPRODUCT () function?&lt;/P&gt;&lt;P&gt;how would one do that i QV? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jul 2010 17:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211969#M66080</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2010-07-03T17:27:39Z</dc:date>
    </item>
    <item>
      <title>Equivalent to product() excel function in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211970#M66081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;wizardo wrote:&lt;BR /&gt;hmmm&lt;BR /&gt;and what about SUMPRODUCT () function?&lt;BR /&gt;how would one do that i QV? :)&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Looks like you'd do it by summing products. Let's look at the example that Excel gives me:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;A B C D&lt;BR /&gt;1 Array 1 Array 1 Array 2 Array 2&lt;BR /&gt;2 3 4 2 7&lt;BR /&gt;3 8 6 6 7&lt;BR /&gt;4 1 9 5 3&lt;/P&gt;&lt;P&gt;In QlikView, this is probably four fields on a table with three rows. I'll just say the field names are A, B, C and D for simplicity.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;SUMPRODUCT(A2:B4, C2:D4)&lt;BR /&gt;= 3*2 + 4*7 + 8*6 + 6*7 + 1*5 + 9*3&lt;BR /&gt;= (3*2 + 8*6 + 1*5) + (4*7 + 6*7 + 9*3)&lt;BR /&gt;= sum(A*C) + sum(B*D)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 18:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Equivalent-to-product-excel-function-in-QlikView/m-p/211970#M66081</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-07-06T18:01:14Z</dc:date>
    </item>
  </channel>
</rss>

