<?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 issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316615#M1180735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi thank you for the fast reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still i am not able to get the answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please see the script i written&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;BR /&gt;Invoice Date,&lt;/P&gt;&lt;P&gt;year(Invoice Date) as Year,&lt;/P&gt;&lt;P&gt;month(Invoice Date) as Month,&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me wether i was written correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2012 11:46:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-30T11:46:51Z</dc:date>
    <item>
      <title>Date issue</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316613#M1180733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear expert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to Qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my data base I have a field for dates and the format is dd/mm/yy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now using script i want to crate a column for month separate and year separate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please tell me how we can do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 10:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316613#M1180733</guid>
      <dc:creator />
      <dc:date>2012-01-30T10:57:55Z</dc:date>
    </item>
    <item>
      <title>Date issue</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316614#M1180734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set DateFormat = 'DD/MM/YY';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;DateField,&lt;/P&gt;&lt;P&gt;year(DateField) as Year,&lt;/P&gt;&lt;P&gt;month(DateField) as Month,&lt;/P&gt;&lt;P&gt;Date(monthstart(DateField),'YYYY-MMM') as Monthstart,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from YOURTABLE;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 11:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316614#M1180734</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-30T11:04:52Z</dc:date>
    </item>
    <item>
      <title>Date issue</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316615#M1180735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi thank you for the fast reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still i am not able to get the answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please see the script i written&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;BR /&gt;Invoice Date,&lt;/P&gt;&lt;P&gt;year(Invoice Date) as Year,&lt;/P&gt;&lt;P&gt;month(Invoice Date) as Month,&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me wether i was written correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 11:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316615#M1180735</guid>
      <dc:creator />
      <dc:date>2012-01-30T11:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date issue</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316616#M1180736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thank you for the fast reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still I am not able to get the answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please see the script i written&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;BR /&gt;Invoice Date,&lt;/P&gt;&lt;P&gt;year(Invoice Date) as Year,&lt;/P&gt;&lt;P&gt;month(Invoice Date) as Month,&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me wether I was written correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 11:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316616#M1180736</guid>
      <dc:creator />
      <dc:date>2012-01-30T11:48:12Z</dc:date>
    </item>
    <item>
      <title>Date issue</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316617#M1180737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to load from a DB / file or state the values as INLINE table? If latter, I think the actually values are missing and you should use the QV functions in the actual load statement, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;[Invoice Date],&lt;/P&gt;&lt;P&gt; year([Invoice Date]) as Year,&lt;/P&gt;&lt;P&gt; Month([Invoice Date]) as Month &lt;/P&gt;&lt;P&gt;INLINE [&lt;BR /&gt;Invoice Date&lt;/P&gt;&lt;P&gt;30/01/12&lt;/P&gt;&lt;P&gt;01/01/12&lt;/P&gt;&lt;P&gt;15/12/11&lt;/P&gt;&lt;P&gt;28/02/10&lt;/P&gt;&lt;P&gt;07/07/09&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 11:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316617#M1180737</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-30T11:56:12Z</dc:date>
    </item>
    <item>
      <title>Date issue</title>
      <link>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316618#M1180738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend...&lt;/P&gt;&lt;P&gt;Above you have mentioned the value in inline table.&lt;/P&gt;&lt;P&gt;You have to first make the entry in your inline table.&lt;/P&gt;&lt;P&gt;ie'&lt;/P&gt;&lt;P&gt;Invoice:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;invoicedate&lt;/P&gt;&lt;P&gt;26/01/2012&lt;/P&gt;&lt;P&gt;27/01/2012&lt;/P&gt;&lt;P&gt;29/01/2012&lt;/P&gt;&lt;P&gt;than you can use the resident of above table&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;load invoicedate,&lt;/P&gt;&lt;P&gt;year([Invoice Date]) as InvoiceYear,&lt;/P&gt;&lt;P&gt;Month([Invoice Date]) as Invoicemonth&lt;/P&gt;&lt;P&gt;resident Invoice;&lt;/P&gt;&lt;P&gt;drop table Invoice;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 12:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-issue/m-p/316618#M1180738</guid>
      <dc:creator>kamalqlik</dc:creator>
      <dc:date>2012-01-30T12:16:55Z</dc:date>
    </item>
  </channel>
</rss>

