<?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: Loading dates in string format from .xlsx file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-dates-in-string-format-from-xlsx-file/m-p/963961#M952718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; Date(Date#(DATE,'DD-MMM-YYYY)) as DATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Nov 2015 17:07:27 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2015-11-23T17:07:27Z</dc:date>
    <item>
      <title>Loading dates in string format from .xlsx file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-dates-in-string-format-from-xlsx-file/m-p/963960#M952717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying QlikView and I'm having problem loading dates from xlsx file. I hope you will be able to help me.&lt;/P&gt;&lt;P&gt;The example format of data:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; width: 111px; height: 112px;" width="109"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;DATE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;30-Jun-2015&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;31-Jul-2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;31-Aug-2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30-Sep-2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I can load exactly the same values to QlikView (great).&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The problem is that they are interpreted as Text so after sorting them I get:&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid rgb(0, 0, 0); font-size: 13.3333px; width: 109px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;DATE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;30-Jun-2015&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;30-Sep-2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;31-Aug-2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;31-Jul-2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script at the moment looks like:&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp; DATE&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I somehow indicate in the script that the DATE data is a date so it will be later interpreted in QV also as date?&lt;/P&gt;&lt;P&gt;I wouldn't like to change the format of DATE column on the side of excel (it has GENERAL format set).&lt;BR /&gt;I tried to use the Properties -&amp;gt; Sort -&amp;gt; Expression to sort the data but it seems I would need to do this in each object where I will use dates...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be grateful for tips &amp;amp; links to places where I can learn how to do this in proper way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrzej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 13:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-dates-in-string-format-from-xlsx-file/m-p/963960#M952717</guid>
      <dc:creator />
      <dc:date>2015-11-23T13:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loading dates in string format from .xlsx file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-dates-in-string-format-from-xlsx-file/m-p/963961#M952718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; Date(Date#(DATE,'DD-MMM-YYYY)) as DATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 17:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-dates-in-string-format-from-xlsx-file/m-p/963961#M952718</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-11-23T17:07:27Z</dc:date>
    </item>
  </channel>
</rss>

