<?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: SQL Load help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Load-help/m-p/1268547#M849562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, do you think &lt;STRONG&gt;Right Keep&lt;/STRONG&gt;, will perform better?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Mar 2017 13:21:57 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2017-03-10T13:21:57Z</dc:date>
    <item>
      <title>SQL Load help</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Load-help/m-p/1268545#M849560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the below load statement and I would like to only bring in the latest date (ARDate) for each Voucher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;L&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;OAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;UserID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ARDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Voucher&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; Action&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ARAction&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;V&gt;&lt;BR /&gt; (&lt;/V&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;biff&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; [Action Summary$]); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if I have the below, I only want to bring in the last line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARDate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Voucher&amp;nbsp;&amp;nbsp; ARAction&lt;/P&gt;&lt;P&gt;08/03/2017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234-1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Contact ABC&lt;/P&gt;&lt;P&gt;09/03/2017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234-1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Contact BCD&lt;/P&gt;&lt;P&gt;10/03/2017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1234-1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Contact CDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&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/SQL-Load-help/m-p/1268545#M849560</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Load help</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Load-help/m-p/1268546#M849561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;May be do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD UserID, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Date as ARDate, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Voucher,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Status, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Action as ARAction&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;V&gt;&lt;/V&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(biff, embedded labels, table is [Action Summary$]);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Right Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;LOAD Voucher,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(ARDate) as ARDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Group By Voucher;&lt;/STRONG&gt;&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 13:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Load-help/m-p/1268546#M849561</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-10T13:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Load help</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Load-help/m-p/1268547#M849562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, do you think &lt;STRONG&gt;Right Keep&lt;/STRONG&gt;, will perform better?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 13:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Load-help/m-p/1268547#M849562</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-03-10T13:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Load help</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Load-help/m-p/1268548#M849563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Between the two, I don't think Keep or Join should be different.... but can be tested out. I think the best technique would be to use Peek/Previous if the data is well sorted. By well sorted I mean, the data is sorted first by Voucher and then by descending order of date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 13:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Load-help/m-p/1268548#M849563</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-10T13:26:03Z</dc:date>
    </item>
  </channel>
</rss>

