<?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: Exists is Not Working With Timestamps in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175163#M632949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exists() basically checks on identical values in the symbol table so it will only filter your input table if you have loaded the exact same values before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume your table with the 12 months are basically showing dates, i.e. timestamps only for midnight (AKA integer values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your timestamps may show any time of the day? Then you are effectively only filtering the timestamps that are recorded exactely around midnight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;Just for clarification, your timestamp field may be formatted as date, but still show numeric values with a time part.&lt;/P&gt;&lt;P&gt;Please have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2016 19:32:21 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-22T19:32:21Z</dc:date>
    <item>
      <title>Exists is Not Working With Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175162#M632948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.) I have 20 million rows of data, there is a timestamp for each of them (MM/DD/YYYY) and the data goes back 6 years.&lt;/P&gt;&lt;P&gt;2.) I created a table of dates going back 12 months (MM/DD/YYYY).&lt;/P&gt;&lt;P&gt;3.) Both timestamps have the same alias (TimestampName).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I understand about the Exists statements, this should allow me to use a Where Exists(TimestampName) statement and only load rows with a timestamp in the past 12 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I wrong about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Note* When I try this, I get about 40 completely random rows with no correlation with the TimestampName.&lt;/P&gt;&lt;P&gt;*Note* When I do a simple Where TimestampName &amp;gt;= date([12months ago]) it works and I get around 2 million rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 17:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175162#M632948</guid>
      <dc:creator />
      <dc:date>2016-06-22T17:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exists is Not Working With Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175163#M632949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exists() basically checks on identical values in the symbol table so it will only filter your input table if you have loaded the exact same values before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume your table with the 12 months are basically showing dates, i.e. timestamps only for midnight (AKA integer values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your timestamps may show any time of the day? Then you are effectively only filtering the timestamps that are recorded exactely around midnight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;Just for clarification, your timestamp field may be formatted as date, but still show numeric values with a time part.&lt;/P&gt;&lt;P&gt;Please have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 19:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175163#M632949</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-22T19:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exists is Not Working With Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175164#M632950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The neither timestamps hold hour/minute/second information, they are all in the MM/DD/YYYY format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 19:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175164#M632950</guid>
      <dc:creator />
      <dc:date>2016-06-22T19:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exists is Not Working With Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175165#M632951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, could you post a small sample QVW that demonstrates your issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This QVW could just show your two date fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 20:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175165#M632951</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-22T20:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exists is Not Working With Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175166#M632952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are your timestamps held as&amp;nbsp; a) text values,&lt;/P&gt;&lt;P&gt;b) dual dates with an integer numeric value &amp;amp; text&lt;/P&gt;&lt;P&gt;Or c) dual dates including time i.e a floating numeric value &amp;amp; text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on exactly how your timestamps are held in the data model will affect how the comparison in the Where Exists will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 20:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175166#M632952</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-06-22T20:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exists is Not Working With Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175167#M632953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The format won't be important in this case - the numeric value is. To ensure that's really a date and not a timestamp you need to round these values like: date(floor(TimestampName)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 06:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175167#M632953</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-23T06:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exists is Not Working With Timestamps</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175168#M632954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the script that you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 05:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-is-Not-Working-With-Timestamps/m-p/1175168#M632954</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-24T05:40:06Z</dc:date>
    </item>
  </channel>
</rss>

