<?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 uptimize split records in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/uptimize-split-records/m-p/237181#M88283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;see attached qvw.&lt;/P&gt;&lt;P&gt;This will calculate the biggest difference in days in any one record and then only do that many loops on your initial dataset. i transformed the timestamps into just Days to ease calculations. The Satrt and End times are kept as numbers to be interpreted as Timestamp without the Day portion.&lt;/P&gt;&lt;P&gt;the final data set will have Loc (nLoc), a date (nDay).&lt;/P&gt;&lt;P&gt;there are three other fields:&lt;/P&gt;&lt;P&gt;nNbrDays. If different to null means that this record represents the Eindatum timsestamp of the original record. The end time itself will be in the EndTime field.&lt;/P&gt;&lt;P&gt;StartTime: if different to null shows the StartTime and means this record represents the BeginDatum timestamp of the original record.&lt;/P&gt;&lt;P&gt;Assumptions made:&lt;/P&gt;&lt;P&gt;if the interval carrie sthru to the next day the endtimestamp is always 1 secodn less than midnight so no point recording this.&lt;/P&gt;&lt;P&gt;If the interval has carried beyond the first day the Start time is midnight so no point recording this.&lt;/P&gt;&lt;P&gt;Run this against your full dataset and see how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2011 13:48:40 GMT</pubDate>
    <dc:creator>pat_agen</dc:creator>
    <dc:date>2011-05-02T13:48:40Z</dc:date>
    <item>
      <title>uptimize split records</title>
      <link>https://community.qlik.com/t5/QlikView/uptimize-split-records/m-p/237179#M88281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've wrote a application to split records with a EindDatum-BeginDatum (startdate-enddate) &amp;gt; 1 into records per day.&lt;/P&gt;&lt;P&gt;But the application I wrote is to slow. I need to do this for about 500000 records.&lt;/P&gt;&lt;P&gt;Can anyone help me to uptimize my application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 11:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/uptimize-split-records/m-p/237179#M88281</guid>
      <dc:creator />
      <dc:date>2011-05-02T11:54:38Z</dc:date>
    </item>
    <item>
      <title>uptimize split records</title>
      <link>https://community.qlik.com/t5/QlikView/uptimize-split-records/m-p/237180#M88282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The source data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 11:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/uptimize-split-records/m-p/237180#M88282</guid>
      <dc:creator />
      <dc:date>2011-05-02T11:57:46Z</dc:date>
    </item>
    <item>
      <title>uptimize split records</title>
      <link>https://community.qlik.com/t5/QlikView/uptimize-split-records/m-p/237181#M88283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;see attached qvw.&lt;/P&gt;&lt;P&gt;This will calculate the biggest difference in days in any one record and then only do that many loops on your initial dataset. i transformed the timestamps into just Days to ease calculations. The Satrt and End times are kept as numbers to be interpreted as Timestamp without the Day portion.&lt;/P&gt;&lt;P&gt;the final data set will have Loc (nLoc), a date (nDay).&lt;/P&gt;&lt;P&gt;there are three other fields:&lt;/P&gt;&lt;P&gt;nNbrDays. If different to null means that this record represents the Eindatum timsestamp of the original record. The end time itself will be in the EndTime field.&lt;/P&gt;&lt;P&gt;StartTime: if different to null shows the StartTime and means this record represents the BeginDatum timestamp of the original record.&lt;/P&gt;&lt;P&gt;Assumptions made:&lt;/P&gt;&lt;P&gt;if the interval carrie sthru to the next day the endtimestamp is always 1 secodn less than midnight so no point recording this.&lt;/P&gt;&lt;P&gt;If the interval has carried beyond the first day the Start time is midnight so no point recording this.&lt;/P&gt;&lt;P&gt;Run this against your full dataset and see how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 13:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/uptimize-split-records/m-p/237181#M88283</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-05-02T13:48:40Z</dc:date>
    </item>
  </channel>
</rss>

