<?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: Timestamp presision in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038813#M349883</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;I tried to do so, but it didn't work. If put this expression to the text box&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('05-JAN-16 19.07.23.933825','DD-MMM-YY hh.mm.ss.ffffffffff'),)&lt;BR /&gt; &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(10)&lt;BR /&gt; &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('05-JAN-16 19.07.23.933826','DD-MMM-YY hh.mm.ss.ffffffffff'),) &lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will two same numbers, however there is a difference in microseconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2016 16:41:53 GMT</pubDate>
    <dc:creator>yura_ratu</dc:creator>
    <dc:date>2016-01-06T16:41:53Z</dc:date>
    <item>
      <title>Timestamp presision</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038809#M349879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have the following date format in database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;05-JAN-16 19.07.23.933825&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to organize incremental load and find max value I've faced an issue when Qlikview cut milliseconds after 3rd figure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14520952245846676" jivemacro_uid="_14520952245846676"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('05-JAN-16 19.07.23.933825','DD-MMM-YY hh.mm.ss.ffffff'),'DD-MMM-YY hh.mm.ss.ffffff')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result will be&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;05-Jan-16 19.07.23.933000&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that I can't accurately compare such dates, because 3 last figures have been lost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to solve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 15:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038809#M349879</guid>
      <dc:creator>yura_ratu</dc:creator>
      <dc:date>2016-01-06T15:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp presision</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038810#M349880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same problem some months ago with an Oracle timestamp. More decimal in Oracle than in Qlik. I wasn't able to solve at the Qlik side, so the workaround I found was:&lt;/P&gt;&lt;P&gt;In Qlik I stored the last Oracle timestamp as text, no figures was lost. The timestamp was converted to char at the Oracle side (TO_CHAR).&lt;/P&gt;&lt;P&gt;In the incremental I converted (at the Oracle side, TO_TIMESTAMP) the timestamp stored in Qlik as text&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;back to an Oracle timestamp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 16:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038810#M349880</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-06T16:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp presision</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038811#M349881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are some links where people have tried to do it (and it seemed it worked for them), but I was unable to replicate the same expression for yours. May be you can figure something out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/154906"&gt;How to format Qlikview Timestamp upto microseconds?&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/28853999/qlikview-timestamp-formatting-upto-microseconds"&gt;http://stackoverflow.com/questions/28853999/qlikview-timestamp-formatting-upto-microseconds&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 16:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038811#M349881</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-06T16:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp presision</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038812#M349882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if if you used a pure number like: num(timestamp#(YourField, YourFormat))? Whereby normally should qv be able to handle a number like this although it has restrictions by large numbers respectively a lot of digits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possibility might be to use two fields - one for dates and one for times for your incremental logic and for your datamodel itself, then: &lt;A href="https://community.qlik.com/qlik-blogpost/3632"&gt;The Importance Of Being Distinct&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 16:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038812#M349882</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-01-06T16:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp presision</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038813#M349883</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;I tried to do so, but it didn't work. If put this expression to the text box&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('05-JAN-16 19.07.23.933825','DD-MMM-YY hh.mm.ss.ffffffffff'),)&lt;BR /&gt; &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(10)&lt;BR /&gt; &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('05-JAN-16 19.07.23.933826','DD-MMM-YY hh.mm.ss.ffffffffff'),) &lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will two same numbers, however there is a difference in microseconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 16:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038813#M349883</guid>
      <dc:creator>yura_ratu</dc:creator>
      <dc:date>2016-01-06T16:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp presision</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038814#M349884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yurii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you need this time precision at all? If not, you can round or cut it of before comparing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 16:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038814#M349884</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2016-01-06T16:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp presision</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038815#M349885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it with two or maybe three fields, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield(YourField, ' ', 1) as DateString&lt;/P&gt;&lt;P&gt;mid(subfield(YourField, ' ', 2), 1, 10) as TimeString&lt;/P&gt;&lt;P&gt;mid(subfield(YourField, ' ', 2), 11) as MillisecondString&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then converting it in numbers and if you need it you could simply add those fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 17:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038815#M349885</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-01-06T17:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp presision</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038816#M349886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it helps in this particular scenario. However it's sad there is no way to deal with microseconds within Qlikview, without workarounds like you and Marcus proposed bellow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 18:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1038816#M349886</guid>
      <dc:creator>yura_ratu</dc:creator>
      <dc:date>2016-01-06T18:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp presision</title>
      <link>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1758972#M453920</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;You can vote on this idea : &lt;A href="https://community.qlik.com/t5/Ideas/Qlik-Timestamp-precision-go-to-the-nanesecond-equivalent-to-DB/idi-p/1758948" target="_blank"&gt;https://community.qlik.com/t5/Ideas/Qlik-Timestamp-precision-go-to-the-nanesecond-equivalent-to-DB/idi-p/1758948&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 15:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Timestamp-presision/m-p/1758972#M453920</guid>
      <dc:creator>simonaubert</dc:creator>
      <dc:date>2020-11-05T15:28:37Z</dc:date>
    </item>
  </channel>
</rss>

