<?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: Show Changes by minimum date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235257#M393043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;LOAD *,RowNo() as Key INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, Name, Status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/31/2016, John, Active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/01/2016, John, Active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/02/2016, John, InActive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/03/2016, John, InActive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/04/2016, John, Active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/05/2016, John, Active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/06/2016, John, Active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/07/2016, John, InActive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/08/2016, John, Active&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD Key+1 as Key,Status as Status1 Resident t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;t:&lt;/P&gt;&lt;P&gt;LOAD * Resident t1 Where Status&amp;lt;&amp;gt;Status1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table t1;&lt;/P&gt;&lt;P&gt;DROP Fields Key,Status1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2016 09:17:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-28T09:17:37Z</dc:date>
    <item>
      <title>Show Changes by minimum date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235253#M393039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope everyone is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a scenario in which we would like to show the changes by minimum dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example we have the data as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date, Name, Status&lt;/P&gt;&lt;P&gt;10/31/2016, John, Active&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/01/2016, John, Active&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/02/2016, John, InActive&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/03/2016, John, InActive&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/04/2016, John, Active&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/05/&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016, John, Active&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/06/2016, John, Active&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/07/2016, John, InActive&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/08/2016, John, Active&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Now the records which we would like to show are as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;10/31/2016, John, Active&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/02/2016, John, InActive&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/04/2016, John, Active&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/07/2016, John, InActive&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;11/08/2016, John, Active&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So we are taking the minimum date of each change.&amp;nbsp; Will appreciate if someone could assist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks.&lt;BR /&gt;&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;&lt;BR /&gt;&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235253#M393039</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2016-11-28T09:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Show Changes by minimum date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235254#M393040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue(Date,Staus)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=FirstSortedValue(&lt;SPAN style="font-size: 13.3333px;"&gt;Staus&lt;/SPAN&gt;,Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235254#M393040</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-11-28T09:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Show Changes by minimum date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235255#M393041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14803240231081949 jive_text_macro" jivemacro_uid="_14803240231081949" modifiedtitle="true"&gt;
&lt;P&gt;SET DateFormat='MM/DD/YYYY';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Temp:&lt;/P&gt;
&lt;P&gt;Load * Inline&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date, Name, Status&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 10/31/2016, John, Active&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 11/01/2016, John, Active&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 11/02/2016, John, InActive&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 11/03/2016, John, InActive&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 11/04/2016, John, Active&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 11/05/2016, John, Active&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 11/06/2016, John, Active&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 11/07/2016, John, InActive&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 11/08/2016, John, Active&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (Temp)&lt;/P&gt;
&lt;P&gt;Load &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Name, &lt;/P&gt;
&lt;P&gt;&amp;nbsp; Status,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If(Name &amp;lt;&amp;gt; Previous(Name), 1, If(Status &amp;lt;&amp;gt; Previous(Status), 1,0)) as Flag&lt;/P&gt;
&lt;P&gt;Resident Temp &lt;/P&gt;
&lt;P&gt;Order By Date, Name;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can use Flag = 1 which will give you required fields..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to remove all lines except flag 1 use below also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Final:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * Resident Temp Where Flag = 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop Table Temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235255#M393041</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-11-28T09:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Show Changes by minimum date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235256#M393042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chanty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the prompt response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I use firstSortedValue in the load script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235256#M393042</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2016-11-28T09:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Show Changes by minimum date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235257#M393043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;t1:&lt;/P&gt;&lt;P&gt;LOAD *,RowNo() as Key INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, Name, Status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/31/2016, John, Active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/01/2016, John, Active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/02/2016, John, InActive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/03/2016, John, InActive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/04/2016, John, Active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/05/2016, John, Active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/06/2016, John, Active&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/07/2016, John, InActive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/08/2016, John, Active&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD Key+1 as Key,Status as Status1 Resident t1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;t:&lt;/P&gt;&lt;P&gt;LOAD * Resident t1 Where Status&amp;lt;&amp;gt;Status1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table t1;&lt;/P&gt;&lt;P&gt;DROP Fields Key,Status1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235257#M393043</guid>
      <dc:creator />
      <dc:date>2016-11-28T09:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Show Changes by minimum date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235258#M393044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the prompt response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try your solution but wanted to know whether it is possible to use group in this case?&amp;nbsp; I tried using it but the problem is that i am not able to get the changes.&amp;nbsp; I only get one minimum value per change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed Jawwad Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235258#M393044</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2016-11-28T09:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show Changes by minimum date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235259#M393045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here status is changing more than once per Name so using a Group By with Name and Status is not a good idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235259#M393045</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-11-28T09:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show Changes by minimum date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235260#M393046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Manish, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have about 20 Million+ records.&amp;nbsp; I will try and see how long it takes with this solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235260#M393046</guid>
      <dc:creator>sjhussain</dc:creator>
      <dc:date>2016-11-28T09:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Show Changes by minimum date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235261#M393047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Creating a flag with such big records will always be tough wrt to performance.. But even though if you use Group by (Don't know how in this scenario), it will also little performance killing. But Front end you will get better response as flag creation is in back end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Changes-by-minimum-date/m-p/1235261#M393047</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-11-28T09:28:08Z</dc:date>
    </item>
  </channel>
</rss>

