<?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 Script help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/222926#M75500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table where there are multiple addresses for each company but I want to extract records for only those addresses that were added last. I know they were added last by the LastUpdateDate field. How can I do that? Subqueries is not an option as QV doesn't permit that and a for loop would take forever in a table with 2m+ records. Is there any other option.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2009 07:35:38 GMT</pubDate>
    <dc:creator>avastani</dc:creator>
    <dc:date>2009-10-23T07:35:38Z</dc:date>
    <item>
      <title>Script help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/222926#M75500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table where there are multiple addresses for each company but I want to extract records for only those addresses that were added last. I know they were added last by the LastUpdateDate field. How can I do that? Subqueries is not an option as QV doesn't permit that and a for loop would take forever in a table with 2m+ records. Is there any other option.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 07:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/222926#M75500</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2009-10-23T07:35:38Z</dc:date>
    </item>
    <item>
      <title>Script help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/222927#M75501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're reading the table with SQL, I don't see why subqueries or some other approach on the database side wouldn't work, but you can also handle it in QlikView. There is almost certainly a more efficient method, but this seems straightforward enough:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[Companies]:&lt;BR /&gt;LOAD&lt;BR /&gt; "Company ID"&lt;BR /&gt;,"Last Update Date"&lt;BR /&gt;,"Company Address"&lt;BR /&gt;FROM ...&lt;BR /&gt;;&lt;BR /&gt;INNER JOIN ([Companies])&lt;BR /&gt;LOAD&lt;BR /&gt; "Company ID"&lt;BR /&gt;,max("Last Update Date") as "Last Update Date"&lt;BR /&gt;RESIDENT [Companies]&lt;BR /&gt;GROUP BY "Company ID"&lt;BR /&gt;;&lt;BR /&gt;DROP FIELD "Last Update Date"&lt;BR /&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 07:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/222927#M75501</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-10-23T07:48:51Z</dc:date>
    </item>
    <item>
      <title>Script help</title>
      <link>https://community.qlik.com/t5/QlikView/Script-help/m-p/222928#M75502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John. My brain was so fried, I couldn't think straight. I have another datamodel problem in another thread if you could please help take a look, I would appreciate it. Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 07:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-help/m-p/222928#M75502</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2009-10-23T07:54:08Z</dc:date>
    </item>
  </channel>
</rss>

