<?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: KPI Calculation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602421#M44594</link>
    <description>&lt;P&gt;Take a look at my attached qvf file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15454iDD61026A433B783A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2019 17:15:46 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-07-15T17:15:46Z</dc:date>
    <item>
      <title>KPI Calculation</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602411#M44591</link>
      <description>&lt;P&gt;I am having a problem performing a calculation for a KPI. I have a line chart that displays the average value grouped by a date range. My dimension in the line chart is AssessmentDate and I have a measure of Avg(BMI). Which gives me a break down of the average based on the date. I am trying to figure out how to calculate the difference between the latest avg value and first avg value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The KPI will be the latest avg value - initial avg value / inital avg value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where I am having trouble though is getting the avg latest and avg inital based on the date range selected. I have tried multiple different aggr scripts and firstsortedvalue variations but I can't see to get it right.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 16:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602411#M44591</guid>
      <dc:creator>philip_radovich</dc:creator>
      <dc:date>2019-07-15T16:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Calculation</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602421#M44594</link>
      <description>&lt;P&gt;Take a look at my attached qvf file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15454iDD61026A433B783A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 17:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602421#M44594</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-07-15T17:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Calculation</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602462#M44596</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the sample application. It does for for the most part. The only problem I am seeing now is if I filter to a specific item that does not have a value for the max assessment date the i get a null. Is is possible to use the max non null value and/or exclude null values with the set analysis?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Phil&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 19:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602462#M44596</guid>
      <dc:creator>philip_radovich</dc:creator>
      <dc:date>2019-07-15T19:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Calculation</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602463#M44597</link>
      <description>&lt;P&gt;Yes, to include only non-null values, use fieldname={*} in your set expression&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 19:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602463#M44597</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2019-07-15T19:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Calculation</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602592#M44605</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50153"&gt;@dwforest&lt;/a&gt;&amp;nbsp; mention you could use the set &lt;FONT face="courier new,courier"&gt;{&amp;lt;fieldname = {"*"}&amp;gt;}&lt;/FONT&gt; in order to exclude non null values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In you case then fieldname might be the field in which you are making a selection, if so then you could adjust the set to this in order to union the star with your selections&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;{&amp;lt;fieldname &lt;STRONG&gt;*&lt;/STRONG&gt;= {"*"}&amp;gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If you still have issues, please share some sample data where we can get an better understanding of your issue.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 08:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1602592#M44605</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-07-16T08:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Calculation</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1603270#M44644</link>
      <description>&lt;P&gt;I am still having a problem unfortunately. While it works flawlessly when people have data for the same assessment date it's not calculating how we would like if they have different assessment dates. Basically what we are looking to do is calculate the delta per person individually and then take an average of all of those people for an Average Delta. An example of the data set is below. When I select an individual person it works fine but when both people are displayed it is calculating off the overall max(AssessmentDate)/min(AssessmentDate) vs each person.&amp;nbsp; even though the second person only has data from 9/7/15.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikimage.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15589iA671A3DEBF60AFF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qlikimage.PNG" alt="qlikimage.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 14:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Calculation/m-p/1603270#M44644</guid>
      <dc:creator>philip_radovich</dc:creator>
      <dc:date>2019-07-17T14:21:48Z</dc:date>
    </item>
  </channel>
</rss>

