<?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: Get Last Sorted Value of Difference Modifier as KPI in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Get-Last-Sorted-Value-of-Difference-Modifier-as-KPI/m-p/1837247#M69186</link>
    <description>&lt;P&gt;Hi, if -5 is the difference since the first month to the last you can do:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;monat={$(=Max(monat))}&amp;gt;}distinct USER_ID)-Count({&amp;lt;monat={$(=Min(monat))}&amp;gt;}distinct USER_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Sep 2021 08:28:33 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2021-09-18T08:28:33Z</dc:date>
    <item>
      <title>Get Last Sorted Value of Difference Modifier as KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Get-Last-Sorted-Value-of-Difference-Modifier-as-KPI/m-p/1836897#M69156</link>
      <description>&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;I am struggling on the following issue. Lets say I have a dimension month and measure counter being a difference modifier including rangesum with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RangeSum
(
  Above((　
     count(distinct USER_ID)  
     - 
     Above((count(distinct USER_ID)))) 
, 0, RowNo()))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This lead s to the following result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TinaHensel_0-1631865645417.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62127i4F367B9F1681E5F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TinaHensel_0-1631865645417.png" alt="TinaHensel_0-1631865645417.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I ust want the value "-5" being displayed in a KPI chart. How is this possible?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Tina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 08:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-Last-Sorted-Value-of-Difference-Modifier-as-KPI/m-p/1836897#M69156</guid>
      <dc:creator>TinaHensel</dc:creator>
      <dc:date>2021-09-17T08:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get Last Sorted Value of Difference Modifier as KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Get-Last-Sorted-Value-of-Difference-Modifier-as-KPI/m-p/1837247#M69186</link>
      <description>&lt;P&gt;Hi, if -5 is the difference since the first month to the last you can do:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;monat={$(=Max(monat))}&amp;gt;}distinct USER_ID)-Count({&amp;lt;monat={$(=Min(monat))}&amp;gt;}distinct USER_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2021 08:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-Last-Sorted-Value-of-Difference-Modifier-as-KPI/m-p/1837247#M69186</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-09-18T08:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get Last Sorted Value of Difference Modifier as KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Get-Last-Sorted-Value-of-Difference-Modifier-as-KPI/m-p/1837282#M69193</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/139166"&gt;@TinaHensel&lt;/a&gt;&amp;nbsp; If your expression really gives you difference between current and first Month of the time then you can simplify your expression as below instead of using complex rangesum and above logic&lt;/P&gt;&lt;P&gt;=&lt;SPAN&gt;Count(distinct USER_ID)&lt;/SPAN&gt;- &lt;SPAN&gt;Count(total {&amp;lt;monat={"$(=min(monat))"}&amp;gt;} distinct USER_ID)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2021 12:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-Last-Sorted-Value-of-Difference-Modifier-as-KPI/m-p/1837282#M69193</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-09-18T12:55:29Z</dc:date>
    </item>
  </channel>
</rss>

