<?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: row based calculation of measures in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325888#M28752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;But the KPI are never explicitly selected, so this is not working for me.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What do you mean when you say KPI are never explicitly selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2017 12:50:45 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-05-11T12:50:45Z</dc:date>
    <item>
      <title>row based calculation of measures</title>
      <link>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325887#M28751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;im facing following problem.&lt;/P&gt;&lt;P&gt;I have a table with 3 rows and 3 measures. The Dimension KPI has 2 characteristics (EXT/INT) which I can use as a Filter.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For the calculation of the measures, Im using Set analysis. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The Customer needs different calculations for the KPI´s.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For example EBIT and OE should be filtered on the characteristic (EXT/INT) but for the calculation of CR we need the total of this both characteristics, no matter if I select EXT or INT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;KPI&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Measure1&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Measure2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Measure3&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;EBIT&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;CR&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;OE&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first thought was to use an IF Statement, like this:&lt;/P&gt;&lt;P&gt;IF(KPI='CR',Sum({&lt;STRONG style="color: #0000ff;"&gt;1&lt;/STRONG&gt;&amp;lt;....&amp;gt;}Value),&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;lt;....&amp;gt;}Value))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But the KPI are never explicitly selected, so this is not working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I solve this in the Chart or do I need the change my Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 12:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325887#M28751</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-05-11T12:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: row based calculation of measures</title>
      <link>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325888#M28752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;But the KPI are never explicitly selected, so this is not working for me.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What do you mean when you say KPI are never explicitly selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 12:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325888#M28752</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-11T12:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: row based calculation of measures</title>
      <link>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325889#M28753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean they are not selected in a filter pane. All KPI are shown in the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 13:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325889#M28753</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-05-11T13:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: row based calculation of measures</title>
      <link>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325890#M28754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still not sure what you are looking to get and what is the issue you are running into, but try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #ff0000;"&gt;Only({1}&lt;/SPAN&gt; KPI&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'CR', Sum({1&amp;lt;....&amp;gt;}Value),Sum({$&amp;lt;....&amp;gt;}Value))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2017 11:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325890#M28754</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-21T11:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: row based calculation of measures</title>
      <link>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325891#M28755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny,&lt;/P&gt;&lt;P&gt;thank you for your reply. I will try your soultions. If it wont work i will attach a qvf file with a more detailed description of my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 19:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325891#M28755</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-05-22T19:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: row based calculation of measures</title>
      <link>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325892#M28756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey im still on this issue,&lt;/P&gt;&lt;P&gt;I will upload my qvf, so maybe this will make my problem clear more understandable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 12:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325892#M28756</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-07-05T12:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: row based calculation of measures</title>
      <link>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325893#M28757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;KPI = {'OE', 'Rev'}&amp;gt;}VALUE) + Sum({&amp;lt;KPI -= {'OE', 'Rev'}, Scope&amp;gt;}VALUE)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169179_Capture.PNG" style="height: 124px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 12:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325893#M28757</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-05T12:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: row based calculation of measures</title>
      <link>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325894#M28758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;thank you for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/check.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 14:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/row-based-calculation-of-measures/m-p/1325894#M28758</guid>
      <dc:creator>johann_bauer</dc:creator>
      <dc:date>2017-07-05T14:27:13Z</dc:date>
    </item>
  </channel>
</rss>

