<?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 How to identify ID that has informations changed in time and find its most recent sales value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-identify-ID-that-has-informations-changed-in-time-and/m-p/7368#M586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table bellow see exemple of data set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 412px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl19929" height="20" width="80"&gt;Extract_Date&lt;/TD&gt;&lt;TD class="xl19929" style="border-left: none;" width="80"&gt;ID&lt;/TD&gt;&lt;TD class="xl19929" style="border-left: none;" width="172"&gt;[Diff.number_of_changes]&lt;/TD&gt;&lt;TD class="xl19929" style="border-left: none;" width="80"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;06/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;06/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;06/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19931" height="20" style="border-top: none;"&gt;15/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19931" height="20" style="border-top: none;"&gt;15/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19931" height="20" style="border-top: none;"&gt;15/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;25/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;25/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;25/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;35&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time I have a new set of data (Extract_Date) I calculate the number of fields that have been changed and put that value in field &lt;SPAN style="font-size: 13.3333px;"&gt;[Diff.number_of_changes]. Now I want to set KPI that will allow to see how many ID have changed between min date (06/01/2018) and max date&lt;/SPAN&gt; (25/01/2018). for this I use expression : count(distinct(if(&lt;SPAN style="font-size: 13.3333px;"&gt;[Diff.number_of_changes]&amp;gt;0,ID))) . And this works fine&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;It gets more complicated for me when I want to find the value of Sales at my max date &lt;SPAN style="font-size: 13.3333px;"&gt;(25/01/2018) only if a change has been made in the past. So for A value returned should be 0, for B 25 and for C 35. &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;SPAN style="font-size: 13.3333px;"&gt;I hope my explanation is understandable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jan 2018 16:09:36 GMT</pubDate>
    <dc:creator>reivax31</dc:creator>
    <dc:date>2018-01-25T16:09:36Z</dc:date>
    <item>
      <title>How to identify ID that has informations changed in time and find its most recent sales value</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-identify-ID-that-has-informations-changed-in-time-and/m-p/7368#M586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table bellow see exemple of data set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 412px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl19929" height="20" width="80"&gt;Extract_Date&lt;/TD&gt;&lt;TD class="xl19929" style="border-left: none;" width="80"&gt;ID&lt;/TD&gt;&lt;TD class="xl19929" style="border-left: none;" width="172"&gt;[Diff.number_of_changes]&lt;/TD&gt;&lt;TD class="xl19929" style="border-left: none;" width="80"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;06/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;06/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;06/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19931" height="20" style="border-top: none;"&gt;15/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19931" height="20" style="border-top: none;"&gt;15/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19931" height="20" style="border-top: none;"&gt;15/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;25/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;25/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl19930" height="20" style="border-top: none;"&gt;25/01/2018&lt;/TD&gt;&lt;TD class="xl19932" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl19929" style="border-top: none; border-left: none;"&gt;35&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time I have a new set of data (Extract_Date) I calculate the number of fields that have been changed and put that value in field &lt;SPAN style="font-size: 13.3333px;"&gt;[Diff.number_of_changes]. Now I want to set KPI that will allow to see how many ID have changed between min date (06/01/2018) and max date&lt;/SPAN&gt; (25/01/2018). for this I use expression : count(distinct(if(&lt;SPAN style="font-size: 13.3333px;"&gt;[Diff.number_of_changes]&amp;gt;0,ID))) . And this works fine&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;It gets more complicated for me when I want to find the value of Sales at my max date &lt;SPAN style="font-size: 13.3333px;"&gt;(25/01/2018) only if a change has been made in the past. So for A value returned should be 0, for B 25 and for C 35. &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;SPAN style="font-size: 13.3333px;"&gt;I hope my explanation is understandable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 16:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-identify-ID-that-has-informations-changed-in-time-and/m-p/7368#M586</guid>
      <dc:creator>reivax31</dc:creator>
      <dc:date>2018-01-25T16:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify ID that has informations changed in time and find its most recent sales value</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-identify-ID-that-has-informations-changed-in-time-and/m-p/7369#M587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xavier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it what you want to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191610_Capturar.PNG" style="height: 161px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Sum(If([Diff.number_of_changes]&amp;gt;0,1,0))&amp;gt;0, sum(aggr(sum({&amp;lt;Extract_Date={"&amp;gt;=$(=Max(Extract_Date))"}&amp;gt;}Sales),ID)),0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 12:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-identify-ID-that-has-informations-changed-in-time-and/m-p/7369#M587</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-01-27T12:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify ID that has informations changed in time and find its most recent sales value</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-identify-ID-that-has-informations-changed-in-time-and/m-p/7370#M588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xavier, any news about your question? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 22:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-identify-ID-that-has-informations-changed-in-time-and/m-p/7370#M588</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-02-06T22:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify ID that has informations changed in time and find its most recent sales value</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-identify-ID-that-has-informations-changed-in-time-and/m-p/7371#M589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sorry I didn't see your answer. I tried your solution and it works but I had already change my data base in order to have the expected result without having a "complicate formula" in my visualisation. What I did is to keep in a field the date of the last time my item has been changed. So if date is superior to my min(date) this means my Item has been changed between my min and max date. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 07:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-identify-ID-that-has-informations-changed-in-time-and/m-p/7371#M589</guid>
      <dc:creator>reivax31</dc:creator>
      <dc:date>2018-02-07T07:42:48Z</dc:date>
    </item>
  </channel>
</rss>

