<?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 multiply? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591115#M219240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Beautiful!&lt;/P&gt;&lt;P&gt;But it is not defined for values &amp;lt; 0&lt;/P&gt;&lt;P&gt;/Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jan 2014 09:32:35 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2014-01-31T09:32:35Z</dc:date>
    <item>
      <title>How to multiply?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591111#M219236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I guess it is time for me to go to bed....&lt;/P&gt;&lt;P&gt;Having this data&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;KPI&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;KPIRefPath&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;PathKPI&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;weightedValue&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3419&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3419/3418/3416&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3416&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3419&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3419/3418/3416&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3418&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3419&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3419/3418/3416&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3419&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;showing a nested hiearchy of KPIs.&lt;/P&gt;&lt;P&gt;KPI 3419 refers to 3418 which in turn refers to 3416. The weight of each level being passed shall be multiplied with the value.&lt;/P&gt;&lt;P&gt;So in this case I would like to have the outcome for 3419 of 0*1*1 giving a little table of one row looking like&lt;/P&gt;&lt;P&gt;3419 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking for a "mul"-function (instead of sum) but without any luck....&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KPI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mul(weightedValue) as Value&lt;/P&gt;&lt;P&gt;Resident tmp Group by KPI;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only solution I can think of right now in the very end of the day, but haven't tested, is to concat the weightedValues into the string 0*1*1 and evaluate them but it feels like I'm missing something obvious here.&lt;/P&gt;&lt;P&gt;So how to do it?&lt;/P&gt;&lt;P&gt;/Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 20:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591111#M219236</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2014-01-30T20:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591112#M219237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Andread,&lt;/P&gt;&lt;P&gt;Please check out the attached file. I created a new field called NewValue which should help you with what you are looking for.&lt;/P&gt;&lt;P&gt;Holler back if you find any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 20:37:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591112#M219237</guid>
      <dc:creator />
      <dc:date>2014-01-30T20:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591113#M219238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to create an aggregation function that multiplies all records with each other - a Prod() (=Mult()-function) you can do that by summing the logarithms and then use the sum as exponent; using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exp(Sum(Log( ... )))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 20:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591113#M219238</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-01-30T20:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591114#M219239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another alternative to what is listed is concatenating all the values with the operator you want and then evaluating like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test2:&lt;/P&gt;&lt;P&gt;Load KPI,&lt;/P&gt;&lt;P&gt;Evaluate(concat(weightedValue, '*')) as Product&lt;/P&gt;&lt;P&gt;Resident Test&lt;/P&gt;&lt;P&gt;Group by KPI;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 20:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591114#M219239</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-01-30T20:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591115#M219240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Beautiful!&lt;/P&gt;&lt;P&gt;But it is not defined for values &amp;lt; 0&lt;/P&gt;&lt;P&gt;/Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 09:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591115#M219240</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2014-01-31T09:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591116#M219241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, That was what I wrote in the initial post, last lines.&lt;/P&gt;&lt;P&gt;/Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 09:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591116#M219241</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2014-01-31T09:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591117#M219242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a work around &lt;A _jive_internal="true" href="https://community.qlik.com/thread/105370"&gt;Sum = (X1 + X2 + ... + Xn), (X1 * X2 * ... * Xn) = ?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 09:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-multiply/m-p/591117#M219242</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-01-31T09:57:24Z</dc:date>
    </item>
  </channel>
</rss>

