<?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: Limit a database table by a timestamp for the last booking? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limit-a-database-table-by-a-timestamp-for-the-last-booking/m-p/769695#M471284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I made it.&lt;/P&gt;&lt;P&gt;There was a simple joining error in front of that. So the format might not even have been the actual problem ...&lt;/P&gt;&lt;P&gt;Thanks a lot for helping anyway, Marcus!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2015 13:50:44 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-03-23T13:50:44Z</dc:date>
    <item>
      <title>Limit a database table by a timestamp for the last booking?</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-a-database-table-by-a-timestamp-for-the-last-booking/m-p/769692#M471281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table from the database with a nr. of transactions. One of those was a check of the former - someone goes and checks if all the boxes (well, a selection, anyway) are in the exact place that the database says they are. If not, he corrects that, so he does another booking.&lt;/P&gt;&lt;P&gt;The booking by this person is recorded along with an exact timestamp in the format &amp;gt;&amp;gt; #####,######## &amp;lt;&amp;lt; - the date and time with more decimals than I need.&lt;/P&gt;&lt;P&gt;Now I would like to filter the table I have to make sure that was the very last booking and I get none effected after the check - so I join the timestamp of the check into my table of bookings (via the unique ID of every box) and I go like&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; WHERE [timestamp_booking] &amp;lt;= [timestamp_check] &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, that doesn't work - I still get a booking that was effected a few hours after the check. I tried using the num() function or replacing the ',' with a '.', but to no avail up to now.&lt;/P&gt;&lt;P&gt;Can anyone help me here?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 13:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-a-database-table-by-a-timestamp-for-the-last-booking/m-p/769692#M471281</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-03-23T13:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Limit a database table by a timestamp for the last booking?</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-a-database-table-by-a-timestamp-for-the-last-booking/m-p/769693#M471282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it could be that one of the timestamps won't be interpreted as numeric value and needed something like num#() or timestamp#(). To compare these timestamps it could be helpful to use a rounding-function like floor(timestamp, 0.000001) or similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 13:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-a-database-table-by-a-timestamp-for-the-last-booking/m-p/769693#M471282</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-03-23T13:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Limit a database table by a timestamp for the last booking?</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-a-database-table-by-a-timestamp-for-the-last-booking/m-p/769694#M471283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both are actually the same timestamp - only I have joined one of them from another table (where I had limited for the person doing the checks).&lt;/P&gt;&lt;P&gt;I am just experimenting with those recognition_functions. Will keep you posted.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: It works just fine on the GUI, I can compare the two all right - so I have no idea yet what's wrong in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 13:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-a-database-table-by-a-timestamp-for-the-last-booking/m-p/769694#M471283</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-03-23T13:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Limit a database table by a timestamp for the last booking?</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-a-database-table-by-a-timestamp-for-the-last-booking/m-p/769695#M471284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I made it.&lt;/P&gt;&lt;P&gt;There was a simple joining error in front of that. So the format might not even have been the actual problem ...&lt;/P&gt;&lt;P&gt;Thanks a lot for helping anyway, Marcus!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 13:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-a-database-table-by-a-timestamp-for-the-last-booking/m-p/769695#M471284</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-03-23T13:50:44Z</dc:date>
    </item>
  </channel>
</rss>

