<?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: Qlikview Date Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699970#M1066532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you max dreamer but I'm struggling to know where to put this in my code as I have a date function in there already ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Sep 2014 12:27:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-03T12:27:22Z</dc:date>
    <item>
      <title>Qlikview Date Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699966#M1066528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello&amp;nbsp; -&amp;nbsp; Very new to this and really need help with dates.&amp;nbsp; I have a column which has dates formatted like this&lt;/P&gt;&lt;P&gt; 06/2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dates are being loaded from SQL and EXCEL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date format for SQL load is correct and left justified, however my dates from Excel are right justified (even though they look the same)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please could someone assist ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code to load from Excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Anticipated Launch date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Anticipated Launch date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IterNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()-1),'M/YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;yearmonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Expected 3 Year Sales Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Expected 3 Year Sales Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/36 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PeriodValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;while&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IterNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() &amp;lt;= 36;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;I am trying to format the YEARMONTH to left justified&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Thank you in advance !!!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 11:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699966#M1066528</guid>
      <dc:creator />
      <dc:date>2014-09-03T11:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Date Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699967#M1066529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very probably (judging by the fact of the data being right-justified in Excel), that data is being transferred to QlikView as a numeric value. Check that. In that case, you'd have to adapt it using the DATE() function. Then you should have the same as from your SQL load.&lt;/P&gt;&lt;P&gt;HTh&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699967#M1066529</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-09-03T12:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Date Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699968#M1066530</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;Just Use&lt;/P&gt;&lt;P&gt;Date(Date#(dateFieldName,'MM/YYYY'),'MM/YYYY') as NewDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699968#M1066530</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-03T12:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Date Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699969#M1066531</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(Date#(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Anticipated Launch date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;'MM/YYYY'),'MM/YYYY')&amp;nbsp; as YearMonth&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;u can use with Alt function&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alt(Date([&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Anticipated Launch date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MM/YYYY'), &lt;STRONG&gt;Date(Date#(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Anticipated Launch date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;'MM/YYYY'),'MM/YYYY') ) as YearMonth&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699969#M1066531</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-09-03T12:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Date Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699970#M1066532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you max dreamer but I'm struggling to know where to put this in my code as I have a date function in there already ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Date-Problem/m-p/699970#M1066532</guid>
      <dc:creator />
      <dc:date>2014-09-03T12:27:22Z</dc:date>
    </item>
  </channel>
</rss>

