<?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: Date Format not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Format-not-working/m-p/608848#M679991</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;Use MonthName(&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;CPIDate&lt;/STRONG&gt;) as MonthYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go with Date#()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;Date(Date#(CPIDate,'DD/MM/YYYY'),'MMM-YYYY') as YearMonth&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;MonthName(Date#(CPIDate,'DD/MM/YYYY')) as YearMonth&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2014 16:53:20 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2014-05-07T16:53:20Z</dc:date>
    <item>
      <title>Date Format not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format-not-working/m-p/608847#M679990</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;I'm importing some data from an excel sheet &amp;amp; creating a temp file. I'm then creating a 2nd temp file from the original temp file &amp;amp; trying to format the date as MMM-YYYY however I'm not getting anything in this field - can anyone tell me what's wrong with my script? It's the bit in bold &amp;amp; red below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking script is correct but for some reason Qlikview is not recognising the data as a date from the excel sheet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CPI_Temp:&lt;/P&gt;&lt;P&gt;CrossTable(CPIDate, Data)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [average monthly rents indexed$], filters(&lt;/P&gt;&lt;P&gt;Remove(Row, Pos(Top, 8)),&lt;/P&gt;&lt;P&gt;Remove(Row, Pos(Top, 7)),&lt;/P&gt;&lt;P&gt;Remove(Row, Pos(Top, 6)),&lt;/P&gt;&lt;P&gt;Remove(Row, Pos(Top, 4)),&lt;/P&gt;&lt;P&gt;Remove(Row, Pos(Top, 3)),&lt;/P&gt;&lt;P&gt;Remove(Row, Pos(Top, 2))&lt;/P&gt;&lt;P&gt;));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CPI_Temp2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; CPIDate,&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; Date(CPIDate, 'MMM-YYYY') as YearMonth,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident CPI_Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table CPI_Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample of the results below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="185"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="62"&gt;CPIDate&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="67"&gt;YearMonth&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="56"&gt;Data&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;28/02/2007&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;100.91&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;28/02/2009&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;103.89&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;28/02/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;100.61&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;28/02/2011&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;102.74&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;28/02/2013&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;106.08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;28/02/2014&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;106.08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;29/02/2008&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;105.66&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;29/02/2012&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;104.93&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 16:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format-not-working/m-p/608847#M679990</guid>
      <dc:creator>anthony_kinsell</dc:creator>
      <dc:date>2014-05-07T16:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format-not-working/m-p/608848#M679991</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;Use MonthName(&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;CPIDate&lt;/STRONG&gt;) as MonthYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go with Date#()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;Date(Date#(CPIDate,'DD/MM/YYYY'),'MMM-YYYY') as YearMonth&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;MonthName(Date#(CPIDate,'DD/MM/YYYY')) as YearMonth&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 16:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format-not-working/m-p/608848#M679991</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-05-07T16:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format not working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format-not-working/m-p/608849#M679992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated. This one worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;Date(Date#(CPIDate,'DD/MM/YYYY'),'MMM-YYYY') as YearMonth&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Why as a matter of interest do you have to use both Date &amp;amp; Date# - apologies if that is a silly question - relatively new to this type of thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 17:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format-not-working/m-p/608849#M679992</guid>
      <dc:creator>anthony_kinsell</dc:creator>
      <dc:date>2014-05-07T17:09:32Z</dc:date>
    </item>
  </channel>
</rss>

