<?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 Date in mapping load - special handling? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-in-mapping-load-special-handling/m-p/219297#M72337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;I changed the mapping load to Date([Invoice Date],'MM/DD/YYY'). It is interesting that when loaded in a mapping load the format needed to be Date([Invoice Date],'MM/DD/YYY') but when loaded standalone from the QVD [Invoice Date] inherited the date format from the QVW that created it.&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Feb 2011 22:46:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-16T22:46:13Z</dc:date>
    <item>
      <title>Date in mapping load - special handling?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-mapping-load-special-handling/m-p/219295#M72335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm trying to map the invoice date from the invoice header to the invoice detail file. When I apply the map the invoice date give wacky results.&lt;/P&gt;&lt;P&gt;To prove the input data is not the issue, I loaded the invoice header separately. The table on the left is a result of the map. The table on the right is a result of the straight load from the header file.&lt;/P&gt;&lt;P&gt;Hope you can help me. Thanks in advance.&lt;/P&gt;&lt;P&gt;RichDeRocco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 21:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-mapping-load-special-handling/m-p/219295#M72335</guid>
      <dc:creator />
      <dc:date>2011-02-16T21:49:02Z</dc:date>
    </item>
    <item>
      <title>Date in mapping load - special handling?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-mapping-load-special-handling/m-p/219296#M72336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rich,&lt;/P&gt;&lt;P&gt;As I don't see the QVD files you are loading, I'd say it's just a formatting issue.&lt;/P&gt;&lt;P&gt;First, make sure to apply the Date() function to all dates you are loading:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD // ... Date([Invoice Date]) AS [Invoice Date]FROM File.qvd (qvd);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If date fields store dates in format that are not recognized by QlikView, depending on your regional settings, (in my case, 20110216), the formatting should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Date(Date#([Invoice Date], 'YYYYMMDD')) AS [Invoice Date]&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Actually, it seems that the [Invoice Date] stores the same value that INVOICE_KEY, for example:&lt;/P&gt;&lt;P&gt;INVOICE_KEY: 12215101&lt;/P&gt;&lt;P&gt;Date([Invoice Date]): 10/22/35343 (which interpreted numerically returns the same value as INVOICE_KEY&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 22:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-mapping-load-special-handling/m-p/219296#M72336</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-16T22:38:25Z</dc:date>
    </item>
    <item>
      <title>Date in mapping load - special handling?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-mapping-load-special-handling/m-p/219297#M72337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;I changed the mapping load to Date([Invoice Date],'MM/DD/YYY'). It is interesting that when loaded in a mapping load the format needed to be Date([Invoice Date],'MM/DD/YYY') but when loaded standalone from the QVD [Invoice Date] inherited the date format from the QVW that created it.&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 22:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-mapping-load-special-handling/m-p/219297#M72337</guid>
      <dc:creator />
      <dc:date>2011-02-16T22:46:13Z</dc:date>
    </item>
    <item>
      <title>Date in mapping load - special handling?</title>
      <link>https://community.qlik.com/t5/QlikView/Date-in-mapping-load-special-handling/m-p/219298#M72338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just as a note Miguel. The issue you observed was caused by a data error. the code you recommended worked fine.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 03:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-in-mapping-load-special-handling/m-p/219298#M72338</guid>
      <dc:creator />
      <dc:date>2011-02-17T03:07:07Z</dc:date>
    </item>
  </channel>
</rss>

