<?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 Transform datefield in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258799#M1204069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try the below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;date#(Left([Enter Date],10),'YYYY-MM-DD') as EnterDate,&lt;BR /&gt;Year(date#(Left([Enter Date],10),'YYYY-MM-DD') ) as Year&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;-Peterson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 May 2010 11:01:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-20T11:01:20Z</dc:date>
    <item>
      <title>Transform datefield</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258793#M1204058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Buildning my first application and have run into problems with an excelfield that i have as source data. The format is yyyy-mm-dd hh.mm.ss and i want to transform it into year ([Entrydate]) as year in the Load statement but dont get no data from it (also the same tranformation with month).&lt;/P&gt;&lt;P&gt;How can i transform it, either in the load or in the designer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 10:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258793#M1204058</guid>
      <dc:creator />
      <dc:date>2010-05-20T10:09:19Z</dc:date>
    </item>
    <item>
      <title>Transform datefield</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258794#M1204059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you pl upload your sample data here, so that it will be easy for us to suggest a solution.&lt;/P&gt;&lt;P&gt;-Peterson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 10:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258794#M1204059</guid>
      <dc:creator />
      <dc:date>2010-05-20T10:17:41Z</dc:date>
    </item>
    <item>
      <title>Transform datefield</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258795#M1204060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Source field looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:131pt;border-collapse:collapse;" width="174"&gt;&lt;COLGROUP&gt;&lt;COL style="width:131pt;mso-width-source:userset;mso-width-alt:6363;" width="174" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;mso-outline-level:2;" valign="bottom"&gt;&lt;TD class="xl24" height="17" style="width:131pt;height:12.75pt;background-color:transparent;border:#ece9d8;" width="174"&gt;2010-01-12 10:22:51&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;mso-outline-level:2;" valign="bottom"&gt;&lt;TD class="xl24" height="17" style="height:12.75pt;background-color:transparent;border:#ece9d8;"&gt;2010-01-19 10:24:55&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;mso-outline-level:2;" valign="bottom"&gt;&lt;TD class="xl24" height="17" style="height:12.75pt;background-color:transparent;border:#ece9d8;"&gt;2010-01-15 11:59:26&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Load statement looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Company, &lt;BR /&gt;[Reported by], &lt;BR /&gt;[Call id], &lt;BR /&gt;[External id], &lt;BR /&gt;Status, &lt;BR /&gt;Priority,&lt;BR /&gt;[Int. Ref. Id], &lt;BR /&gt;Closed, &lt;BR /&gt;[Enter Hours], &lt;BR /&gt;Left ([Enter Date], 10), &lt;BR /&gt;Year ([Enter Date]) &lt;B&gt;as&lt;/B&gt; År,&lt;BR /&gt;Month ([Enter Date]) &lt;B&gt;as&lt;/B&gt; Månad,&lt;BR /&gt;[Work Hours]&lt;BR /&gt;&lt;B&gt;FROM&lt;BR /&gt;&lt;/B&gt;[\\xd40201.u-dom1.u-ssi.net\sema20106user$\H15992\work\QV\DATA\Logicauppföljning\E ON Jan 2010.xls]&lt;BR /&gt;(biff, embedded labels, table is [FU 1001$])&lt;BR /&gt;&lt;B&gt;Where&lt;/B&gt; [Company] = 'E.ON ELNÄT SVERIGE AB'; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 10:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258795#M1204060</guid>
      <dc:creator />
      <dc:date>2010-05-20T10:24:38Z</dc:date>
    </item>
    <item>
      <title>Transform datefield</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258796#M1204062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello try this:&lt;/P&gt;&lt;P&gt;LOAD ...&lt;/P&gt;&lt;P&gt;Date#([Enter Date], 'YYYY-MM-DD hh:mm:ss') as EnterDate,&lt;/P&gt;&lt;P&gt;year(Date#([Enter Date], 'YYYY-MM-DD hh:mm:ss')) as Year&lt;/P&gt;&lt;P&gt;FROm...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 10:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258796#M1204062</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-05-20T10:40:09Z</dc:date>
    </item>
    <item>
      <title>Transform datefield</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258797#M1204064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, didn't help though. Mayby I took you too literate?&lt;/P&gt;&lt;P&gt;pasted in error statement that showed while loading:&lt;/P&gt;&lt;P&gt;Okänd sats &amp;lt;=Unknown ?&lt;BR /&gt;Date#([Enter Date], 'YYYY-MM-DD hh:mm:ss') as EnterDate,&lt;/P&gt;&lt;P&gt;year(Date#([Enter Date], 'YYYY-MM-DD hh:mm:ss')) as Year&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Januari:&lt;BR /&gt;LOAD Company,&lt;BR /&gt; [Reported by],&lt;BR /&gt; [Call id],&lt;BR /&gt; [External id],&lt;BR /&gt; Status,&lt;BR /&gt; Priority,&lt;BR /&gt; [Int. Ref. Id],&lt;BR /&gt; Closed,&lt;BR /&gt; [Enter Hours],&lt;BR /&gt; Date#([Enter Date], 'YYYY-MM-DD hh:mm:ss') as EnterDate,&lt;BR /&gt; Year (Date#([Enter Date], 'YYYY-MM-DD hh:mm:ss')) as Year,&lt;BR /&gt; Month (Date#([Enter Date], 'YYYY-MM-DD hh:mm:ss')) as Month,&lt;BR /&gt;&lt;BR /&gt; [Work Hours]&lt;BR /&gt;FROM&lt;BR /&gt;[\\xd40201.u-dom1.u-ssi.net\sema20106user$\H15992\work\QV\DATA\Logicauppföljning\E ON Jan 2010.xls]&lt;BR /&gt;(biff, embedded labels, table is [FU 1001$])&lt;BR /&gt;Where [Company] = 'E.ON ELNÄT SVERIGE AB'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 10:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258797#M1204064</guid>
      <dc:creator />
      <dc:date>2010-05-20T10:48:06Z</dc:date>
    </item>
    <item>
      <title>Transform datefield</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258798#M1204066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;you should use a timestamp#() function instead Date#()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 11:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258798#M1204066</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-05-20T11:00:47Z</dc:date>
    </item>
    <item>
      <title>Transform datefield</title>
      <link>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258799#M1204069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try the below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;date#(Left([Enter Date],10),'YYYY-MM-DD') as EnterDate,&lt;BR /&gt;Year(date#(Left([Enter Date],10),'YYYY-MM-DD') ) as Year&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;-Peterson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 11:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transform-datefield/m-p/258799#M1204069</guid>
      <dc:creator />
      <dc:date>2010-05-20T11:01:20Z</dc:date>
    </item>
  </channel>
</rss>

