<?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: Problem with key performance indicator calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897741#M470703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Match(KPI_ID, 'ASI', 'PKO', 'RTE'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Sum(VALUE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Num(Sum(TOTAL &amp;lt;YEARMONTH&amp;gt; Aggr(Sum(TOTAL &amp;lt;KPI_ID, YEARMONTH&amp;gt; {&amp;lt;KPI_ID = {'PKO'}&amp;gt;} VALUE), KPI_ID, YEARMONTH))/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(TOTAL &amp;lt;YEARMONTH&amp;gt; Aggr(Sum(TOTAL &amp;lt;KPI_ID, YEARMONTH&amp;gt; {&amp;lt;KPI_ID = {'ASI'}&amp;gt;} VALUE), KPI_ID, YEARMONTH)), '#.##0,0'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also find attached the application&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 13:51:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-05-07T13:51:26Z</dc:date>
    <item>
      <title>Problem with key performance indicator calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897740#M470702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table in the database with key performance indicators (KPIs), in Qlikview i have a report with pivot table where i sum the values of the KPIs. My problem is that i have to add a new KPIs that is the value between divide others two KPIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="KPI_data.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85926_KPI_data.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I'm trying with the combination of the functions pick and match, but i can´t do reference to others kpis where my expresion detected this complex KPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=pick(match(KPI_ID,'LF')+1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum(VALUE)&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;,Sum({&amp;lt;KPI_ID={$(='PKO')}&amp;gt;} VALUE) / &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum({&amp;lt;KPI_ID={$(='ASI')}&amp;gt;} VALUE)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the kpi calculated into the data base, but really a kpi that is the operation (division) of other two kpis i cannot add the total values, because the total will be wrong, the total value will be the division.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(See attachment for more information.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea? how can i focus the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 13:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897740#M470702</guid>
      <dc:creator />
      <dc:date>2015-05-07T13:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with key performance indicator calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897741#M470703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Match(KPI_ID, 'ASI', 'PKO', 'RTE'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Sum(VALUE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Num(Sum(TOTAL &amp;lt;YEARMONTH&amp;gt; Aggr(Sum(TOTAL &amp;lt;KPI_ID, YEARMONTH&amp;gt; {&amp;lt;KPI_ID = {'PKO'}&amp;gt;} VALUE), KPI_ID, YEARMONTH))/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(TOTAL &amp;lt;YEARMONTH&amp;gt; Aggr(Sum(TOTAL &amp;lt;KPI_ID, YEARMONTH&amp;gt; {&amp;lt;KPI_ID = {'ASI'}&amp;gt;} VALUE), KPI_ID, YEARMONTH)), '#.##0,0'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also find attached the application&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 13:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897741#M470703</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-07T13:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with key performance indicator calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897742#M470704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;see attachment.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897742#M470704</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2015-05-07T14:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with key performance indicator calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897743#M470705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks sunindia for the reply, the load of the table is a bit slow&amp;nbsp; maybe the cause is the logical of the expression, but the result is good, thanks for the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bests regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 07:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897743#M470705</guid>
      <dc:creator />
      <dc:date>2015-05-11T07:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with key performance indicator calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897744#M470706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks Antonio for the reply, this workaround is good too, the load of the table is a bit slow&amp;nbsp; maybe the cause is the logical of the expression, thanks for the workaround.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Bests regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 07:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-key-performance-indicator-calculation/m-p/897744#M470706</guid>
      <dc:creator />
      <dc:date>2015-05-11T07:58:11Z</dc:date>
    </item>
  </channel>
</rss>

