<?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 Create a flag to compare if values have been changing over time in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-a-flag-to-compare-if-values-have-been-changing-over-time/m-p/1948011#M78136</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to create a flag that allows me to compare if the values of a certain field have been changing, per customer, over time.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For this, a new field - &lt;STRONG&gt;[ValueHasChangedComparingPM]&lt;/STRONG&gt; - would be created in the Table &lt;U&gt;CustomerMetrics&lt;/U&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Imagine the following scenario in Table CustomerMetrics:&lt;/P&gt;
&lt;P&gt;&lt;U&gt;CustomerMetrics&lt;/U&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE style="height: 250px; border-style: solid; width: 100.00000000000001%;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px" class="lia-align-center"&gt;&lt;STRONG&gt;Customer&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px" class="lia-align-center"&gt;&lt;STRONG&gt;MonthYear&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px" class="lia-align-center"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px" class="lia-align-center"&gt;&lt;STRONG&gt;ValueHasChangedComparingPM&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;012022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;X&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;022022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;X&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;032022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;X&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;012022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;Y&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;022022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;Y&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;032022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;Z&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;Yes&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;C&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;012022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;U&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;C&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;022022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;O&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;Yes&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;C&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;032022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;M&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;Yes&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The field [&lt;STRONG&gt;ValueHasChangedComparingPM&lt;/STRONG&gt;] would have the values:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt; - if the [Value] of the "previous month" is different than "previous month +1"&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;No&lt;/STRONG&gt; - if the [Value] of the "previous month" is the same as "previous month+1"
&lt;UL&gt;
&lt;LI&gt;If there's no value before to do the comparison, set the default value as &lt;STRONG&gt;No&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone faced a similar issue before that could help me this exercise? I've already tried a lot of ways to do this, but i keep being blocked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance for any guidance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jun 2022 17:25:24 GMT</pubDate>
    <dc:creator>50ShadesOfSalty</dc:creator>
    <dc:date>2022-06-24T17:25:24Z</dc:date>
    <item>
      <title>Create a flag to compare if values have been changing over time</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-flag-to-compare-if-values-have-been-changing-over-time/m-p/1948011#M78136</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to create a flag that allows me to compare if the values of a certain field have been changing, per customer, over time.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For this, a new field - &lt;STRONG&gt;[ValueHasChangedComparingPM]&lt;/STRONG&gt; - would be created in the Table &lt;U&gt;CustomerMetrics&lt;/U&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Imagine the following scenario in Table CustomerMetrics:&lt;/P&gt;
&lt;P&gt;&lt;U&gt;CustomerMetrics&lt;/U&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE style="height: 250px; border-style: solid; width: 100.00000000000001%;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px" class="lia-align-center"&gt;&lt;STRONG&gt;Customer&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px" class="lia-align-center"&gt;&lt;STRONG&gt;MonthYear&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px" class="lia-align-center"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px" class="lia-align-center"&gt;&lt;STRONG&gt;ValueHasChangedComparingPM&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;012022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;X&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;022022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;X&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;A&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#008000"&gt;032022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;X&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#008000"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;012022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;Y&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;022022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;Y&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;B&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#333399"&gt;032022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;Z&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#333399"&gt;Yes&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;C&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;012022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;U&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;No&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;C&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;022022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;O&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;Yes&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;C&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="16.666666666666668%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;032022&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;M&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;FONT color="#FF6600"&gt;Yes&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The field [&lt;STRONG&gt;ValueHasChangedComparingPM&lt;/STRONG&gt;] would have the values:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Yes&lt;/STRONG&gt; - if the [Value] of the "previous month" is different than "previous month +1"&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;No&lt;/STRONG&gt; - if the [Value] of the "previous month" is the same as "previous month+1"
&lt;UL&gt;
&lt;LI&gt;If there's no value before to do the comparison, set the default value as &lt;STRONG&gt;No&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone faced a similar issue before that could help me this exercise? I've already tried a lot of ways to do this, but i keep being blocked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance for any guidance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 17:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-flag-to-compare-if-values-have-been-changing-over-time/m-p/1948011#M78136</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2022-06-24T17:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create a flag to compare if values have been changing over time</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-flag-to-compare-if-values-have-been-changing-over-time/m-p/1948127#M78142</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You could use an ORDER BY statement to order the data by Customer and Date. Next, create a field in the table to first check if the Customer is the same, then check if the value has changed. It would look something like IF(Customer &amp;lt;&amp;gt; PREVIOUS(Customer),&amp;nbsp; 'N', IF(Value &amp;lt;&amp;gt; PREVIOUS(Value), 'Y', 'N')) as ValueHasChangedComparingPM. If the Customer has changed, then 'N' because that indicates the next Customer's cluster of Values (thanks to your ORDER BY statement), else if the value has changed then 'Y' because that indicates there's a changed in Value from one time period to the next (also thanks to your ORDER BY statement), else 'N' because that means the Values were the same from one time period to the next.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Gage&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 22:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-flag-to-compare-if-values-have-been-changing-over-time/m-p/1948127#M78142</guid>
      <dc:creator>gagewhite</dc:creator>
      <dc:date>2022-06-24T22:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create a flag to compare if values have been changing over time</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-flag-to-compare-if-values-have-been-changing-over-time/m-p/1948130#M78143</link>
      <description>&lt;P&gt;Something I forgot to mention... The ORDER BY statement only works on a RESIDENT load. So you would have to load it in from source first. Also, bear in mind this will remain static if you are applying other filters. To have it be dynamic based off table sorting or filters, I would use a similar formula as above, but in a table, variable, etc., and using ABOVE instead of PREVIOUS&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 22:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-flag-to-compare-if-values-have-been-changing-over-time/m-p/1948130#M78143</guid>
      <dc:creator>gagewhite</dc:creator>
      <dc:date>2022-06-24T22:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create a flag to compare if values have been changing over time</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-flag-to-compare-if-values-have-been-changing-over-time/m-p/1948198#M78154</link>
      <description>&lt;P&gt;Please use below and kindly mark it as solved if it resolves your issue.&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Customer, MonthYear, Value &lt;BR /&gt;A, 012022, X &lt;BR /&gt;A, 032022, X &lt;BR /&gt;B, 012022, Y &lt;BR /&gt;B, 022022, Y &lt;BR /&gt;B, 032022, Z &lt;BR /&gt;C, 022022, O &lt;BR /&gt;C, 032022, M &lt;BR /&gt;A, 022022, X&lt;BR /&gt;C, 012022, U&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp1:&lt;BR /&gt;Load *,&lt;BR /&gt;if(Customer=Peek(Customer) and Value&amp;lt;&amp;gt;Peek(Value),'Yes','No') as [ValueHasChangedComparingPM]&lt;BR /&gt;Resident Temp&lt;BR /&gt;Order by Customer;&lt;/P&gt;
&lt;P&gt;Drop table Temp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Exit Script;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 08:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-flag-to-compare-if-values-have-been-changing-over-time/m-p/1948198#M78154</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-06-26T08:00:43Z</dc:date>
    </item>
  </channel>
</rss>

