<?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: Need logic help.. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-logic-help/m-p/1172907#M900534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following by ensuring that the date-fields will be interpreted as dates which is depending on your default-settings within the variable DateFormat (at the beginning of your script). If not you need to load the fields as dates, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(date#(VALIDTO, 'DD/MM/YYYY')) as VALIDTO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;load VALIDFROM, VALIDTO, WORKER, PERSONNELNUMBER, Status &lt;/P&gt;&lt;P&gt;From YourCSV&lt;/P&gt;&lt;P&gt;where match(Status, 'Working', 'Resigned');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join (table)&lt;/P&gt;&lt;P&gt;load date(max(VALIDTO)) as VALIDTO, WORKER, PERSONNELNUMBER &lt;/P&gt;&lt;P&gt;resident table&lt;/P&gt;&lt;P&gt;group by WORKER, PERSONNELNUMBER;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Jul 2016 10:54:23 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-07-17T10:54:23Z</dc:date>
    <item>
      <title>Need logic help..</title>
      <link>https://community.qlik.com/t5/QlikView/Need-logic-help/m-p/1172906#M900533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In attached data i want only those rows in which status is working or if status is resigned then only latest validto&amp;nbsp; date record should be shown.&lt;/P&gt;&lt;P&gt;Please help me out asap..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lalit &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-logic-help/m-p/1172906#M900533</guid>
      <dc:creator>lalitkgehlot89</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need logic help..</title>
      <link>https://community.qlik.com/t5/QlikView/Need-logic-help/m-p/1172907#M900534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following by ensuring that the date-fields will be interpreted as dates which is depending on your default-settings within the variable DateFormat (at the beginning of your script). If not you need to load the fields as dates, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(date#(VALIDTO, 'DD/MM/YYYY')) as VALIDTO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;load VALIDFROM, VALIDTO, WORKER, PERSONNELNUMBER, Status &lt;/P&gt;&lt;P&gt;From YourCSV&lt;/P&gt;&lt;P&gt;where match(Status, 'Working', 'Resigned');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join (table)&lt;/P&gt;&lt;P&gt;load date(max(VALIDTO)) as VALIDTO, WORKER, PERSONNELNUMBER &lt;/P&gt;&lt;P&gt;resident table&lt;/P&gt;&lt;P&gt;group by WORKER, PERSONNELNUMBER;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jul 2016 10:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-logic-help/m-p/1172907#M900534</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-07-17T10:54:23Z</dc:date>
    </item>
  </channel>
</rss>

