<?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: Empty Date Field Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575555#M214282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second was if the comparison logic is not subject to change move the calculation to script.&lt;/P&gt;&lt;P&gt;It allows you to simplify all your expressions with just a sum(DateFlag).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2014 18:39:14 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2014-04-14T18:39:14Z</dc:date>
    <item>
      <title>Empty Date Field Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575550#M214277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We had a problem with having an empty field for a date (QV 11 SR5).&lt;/P&gt;&lt;P&gt;When reading the Excel spreadsheet, we can directly use MyDate&amp;gt;0 to see if there is an actual date in the field.&amp;nbsp; This calculation works in both straight table chart and graphs.&lt;/P&gt;&lt;P&gt;When we stored the Excel spreadsheet data (Load as * and Store as QVD) and then read the .qvd file, this calculation only works in straight table charts. It will not work with any graph or gauge.&lt;/P&gt;&lt;P&gt;The Excel date is formatted 1/1/2000 but the .qvd changed the format to 1-Jan-2000 (no read or write format was specified).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We loading the .qvd we can use an IF(MyDate&amp;gt;0,1,0) as MyDate_cnt to flag if the field is empty, but cannot do anything to see if the date is empty in a graph after loading.&amp;nbsp; Is this a QV error?&amp;nbsp; No problems with the Excel data, but errors with the .qvd data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the sample project.  The QVD gauge should equal the Final Equation in the table (Just like the Excel).&#xD;
Message was edited by: Raymond Wright&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 16:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575550#M214277</guid>
      <dc:creator />
      <dc:date>2014-04-14T16:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Date Field Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575551#M214278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you upload the sample where this expression is not working with a graph ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 17:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575551#M214278</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-04-14T17:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Date Field Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575552#M214279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached the sample file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 17:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575552#M214279</guid>
      <dc:creator />
      <dc:date>2014-04-14T17:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Date Field Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575553#M214280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The first thing is that your DateEGM and DateMGR fields are stored as TEXT instead of date format (dual text+numeric).&lt;/P&gt;&lt;P&gt;So there is no way to make a comparison of that fields with 0.&lt;/P&gt;&lt;P&gt;The easiest way to notice it is to use different alignment on presentation tab, text to the left and number to the right.&lt;/P&gt;&lt;P&gt;Or go to the document properties tables tab and see what tags are assigned to the fields.&lt;/P&gt;&lt;P&gt;You have to use date#(DateEGM, 'DD-MMM-YY') function to convert the string to date (either is script or in expression, but the best is to store the qvd properly).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 18:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575553#M214280</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-04-14T18:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Date Field Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575554#M214281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the help.&amp;nbsp; This is a nightly load and was hoping to use the Load * to keep me out of dealing with the changing source file (not under my control) and then store directly to .qvd common file.&amp;nbsp; But I would probably spend more time helping the end users debug the problems when the source file changes anyway.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 18:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575554#M214281</guid>
      <dc:creator />
      <dc:date>2014-04-14T18:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Empty Date Field Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575555#M214282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second was if the comparison logic is not subject to change move the calculation to script.&lt;/P&gt;&lt;P&gt;It allows you to simplify all your expressions with just a sum(DateFlag).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 18:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Empty-Date-Field-Problem/m-p/575555#M214282</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-04-14T18:39:14Z</dc:date>
    </item>
  </channel>
</rss>

