<?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: Efficiency Gain in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941321#M966301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OMG so simple when you say it like that!! i apologise for being a complete Pleb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Sep 2015 14:53:26 GMT</pubDate>
    <dc:creator>samuel_brierley</dc:creator>
    <dc:date>2015-09-25T14:53:26Z</dc:date>
    <item>
      <title>Efficiency Gain</title>
      <link>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941318#M966298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was recently introduced to the wonders of incremental load and as far as i know my method is pretty standard, i.e I set a variable to be the last modified date and query the database on that, the problem is the database has multiple date fields that could be the last modified date.&lt;/P&gt;&lt;P&gt;that isnt a problem for my load script but when im assigning the variable what im having to do is create 1 table with one field via the below method, surely there is a more efficient way of doing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;max(Reported_Time) as last_Updated_Date&lt;/P&gt;&lt;P&gt;Resident [Fault List];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt; max(Attendance_Time) as last_Updated_Date&lt;/P&gt;&lt;P&gt; Resident [Fault List];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;max(Clearance_Time) as last_Updated_Date&lt;/P&gt;&lt;P&gt;Resident [Fault List];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then take the max of the resulting table.&lt;/P&gt;&lt;P&gt;There's 15 of these in total which is why it takes a long time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for any help guys &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 14:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941318#M966298</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-25T14:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Efficiency Gain</title>
      <link>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941319#M966299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;At the start of your script put the then current datetime into a variable&lt;/LI&gt;&lt;LI&gt;At the end of your script store this datetime variable value into a qvd &lt;UL&gt;&lt;LI&gt;[You can also put other usefull things into the qvd so you have an historical run log that can be useful]&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then on the next run&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Get the max value of &lt;SPAN style="font-size: 13.3333px;"&gt;datetime &lt;/SPAN&gt;from the qvd&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your qvd will be tiddly and it'll get the max quick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume you'll be using last run &lt;SPAN style="font-size: 13.3333px;"&gt;datetime &lt;/SPAN&gt;start in a WHERE clause against the database and using it against all your database's multiple date fields should work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 14:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941319#M966299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-25T14:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Efficiency Gain</title>
      <link>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941320#M966300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;Reported_Time as last_Updated_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident [Fault List];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Attendance_Time as last_Updated_Date&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident [Fault List];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Clearance_Time as last_Updated_Date&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident [Fault List];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and finally&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;last_Updated_Date) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;last_Updated_Date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Temp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Drop Table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Temp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;in this way you hit max function only once and the load may be faster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 14:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941320#M966300</guid>
      <dc:creator>malini_qlikview</dc:creator>
      <dc:date>2015-09-25T14:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Efficiency Gain</title>
      <link>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941321#M966301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OMG so simple when you say it like that!! i apologise for being a complete Pleb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 14:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941321#M966301</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-09-25T14:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Efficiency Gain</title>
      <link>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941322#M966302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries, it is something I learnt a while back from &lt;A href="https://community.qlik.com/qlik-users/4484"&gt;stevedark&lt;/A&gt;‌ when I was being a complete Pleb.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 14:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Efficiency-Gain/m-p/941322#M966302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-25T14:55:16Z</dc:date>
    </item>
  </channel>
</rss>

