<?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: Not able to convert a Column that is a date into a proper format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629993#M733204</link>
    <description>&lt;P&gt;It does work, but the only challenge is the order of your columns, if for some reason that is not correctly specified in the Excel, things become complicated.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2019 11:06:01 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-10-01T11:06:01Z</dc:date>
    <item>
      <title>Not able to convert a Column that is a date into a proper format</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629605#M733199</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;So, I have a source file which has the date something like below&lt;/P&gt;&lt;P&gt;Comment&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Mar/19&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Apr/19&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;May/19&amp;nbsp; &amp;nbsp; and so on....&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;459&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;344&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 114&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;345&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 344&lt;/P&gt;&lt;P&gt;C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;55&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;555&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;34&lt;/P&gt;&lt;P&gt;D&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;323&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;67&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The column B,C,D and so on are actually Dates in (MM/DD/YYYY) but when i'm loading them they are coming in Number format like below&lt;/P&gt;&lt;P&gt;LOAD Code,&lt;BR /&gt;[43543],&lt;BR /&gt;[43574],&lt;BR /&gt;[43604]&lt;/P&gt;&lt;P&gt;I am doing a CrossTable(Month,Value,1) on this table and using Resident&amp;nbsp; load to fetch the newly transformed table but after the Resident load, Month will have the values&amp;nbsp;43543,43574,43604 etc and when i'm trying to convert it into a proper date format such as Mar-19,Apr-19 etc using Date functions, i am getting null for the whole column.&lt;/P&gt;&lt;P&gt;The only way i'm able to do it if the Column B,C and D are in a format such as 03.01.2019,04.01.2019,05.01.2019 and so on. Now i am able to simply convert it using the following functions&lt;/P&gt;&lt;P&gt;Monthname(Date(Date#(Month,'MM.DD.YYYY'),'MM/DD/YYYY'))&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this would be a change in the source file itself which is why i want to avoid it and instead trying to find out why it is not working with the original columns.&lt;/P&gt;&lt;P&gt;Any help or suggestion will be appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Pranav&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:59:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629605#M733199</guid>
      <dc:creator>pranaview</dc:creator>
      <dc:date>2024-11-16T19:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to convert a Column that is a date into a proper format</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629617#M733200</link>
      <description>&lt;P&gt;Try this instead&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MonthName(Num#(Month)) as MonthYear&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 30 Sep 2019 14:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629617#M733200</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-30T14:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to convert a Column that is a date into a proper format</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629644#M733201</link>
      <description>&lt;P&gt;Sunny, thanks for the solution. It worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i have come across another problem. so, like every month source file will have a new column with the different month but my original Load script obviously does not have that at this moment, so that column will not be picked unless i make the change in the script on the fly which i would have to do every month, doesn't seem a good way to go about it. Another option is to simply add columns for future months without any data so my script has them and once that data fills in, it will display but i am still not sure how should i implement this, if you have any thought then please let me know.&lt;/P&gt;&lt;P&gt;I'll mark your response as correct cos it is the solution to the problem i asked. Thanks again!&lt;/P&gt;&lt;P&gt;Pranav&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 15:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629644#M733201</guid>
      <dc:creator>pranaview</dc:creator>
      <dc:date>2019-09-30T15:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to convert a Column that is a date into a proper format</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629652#M733202</link>
      <description>&lt;P&gt;May be try loading the file with *&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CrossTable (....)
LOAD *
FROM ....&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 30 Sep 2019 15:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629652#M733202</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-30T15:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to convert a Column that is a date into a proper format</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629983#M733203</link>
      <description>&lt;P&gt;For some reason i was in the impression that * doesn't work with CrossTable(). Thanks for clearing up that Sunny.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 10:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629983#M733203</guid>
      <dc:creator>pranaview</dc:creator>
      <dc:date>2019-10-01T10:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to convert a Column that is a date into a proper format</title>
      <link>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629993#M733204</link>
      <description>&lt;P&gt;It does work, but the only challenge is the order of your columns, if for some reason that is not correctly specified in the Excel, things become complicated.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 11:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-able-to-convert-a-Column-that-is-a-date-into-a-proper-format/m-p/1629993#M733204</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-10-01T11:06:01Z</dc:date>
    </item>
  </channel>
</rss>

