<?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: Can any one please help on QlikView Date Formating in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-any-one-please-help-on-QlikView-Date-Formating/m-p/832006#M1018833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for year you can do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left(LastUpdate, len(LastUpdate)-2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Qt try: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( Right(LastUpdate, Len(LastUpdate)-4) &amp;lt;=3 ,1, &lt;/P&gt;&lt;P&gt;If(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Right(LastUpdate, Len(LastUpdate)-4) &amp;gt; 3 and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Right(LastUpdate, Len(LastUpdate)-4) &amp;lt;= 6, 2, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if(Right(LastUpdate, Len(LastUpdate)-4) &amp;gt; 6 and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Right(LastUpdate, Len(LastUpdate)-4) &amp;lt;= 9, 3, 4)))&lt;/SPAN&gt;&lt;/SPAN&gt;&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;Rahul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2015 10:02:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-01T10:02:26Z</dc:date>
    <item>
      <title>Can any one please help on QlikView Date Formating</title>
      <link>https://community.qlik.com/t5/QlikView/Can-any-one-please-help-on-QlikView-Date-Formating/m-p/832004#M1018831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends I have a Field in my source with name Last Update having Source Load Time stamp.&lt;/P&gt;&lt;P&gt;201503&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 64px; border-collapse: collapse;"&gt; &lt;TBODY&gt;&lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; width: 48pt; height: 15pt; background-color: transparent;" width="64"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;LastUpdate&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD align="right" height="20" style="border: 0px black; height: 15pt; background-color: transparent;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;201503&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Here From 'YYYYMM' need to get Year,Month,Quarter&lt;/P&gt;&lt;P&gt;1)Need to get Year from Last Update field and after need to get month in it(here how to use Right or Left(LastUpdate)&lt;/P&gt;&lt;P&gt;2)Need to get Quarter depend on Month field in If else statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-any-one-please-help-on-QlikView-Date-Formating/m-p/832004#M1018831</guid>
      <dc:creator />
      <dc:date>2015-03-31T18:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can any one please help on QlikView Date Formating</title>
      <link>https://community.qlik.com/t5/QlikView/Can-any-one-please-help-on-QlikView-Date-Formating/m-p/832005#M1018832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Key is to recognize the incoming data as a date field of the format YYYYMM using the date#() function.&amp;nbsp; Then you can reference that in Year, Month, and quarter functions;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(LastUpdate) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(LastUpdate) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q' &amp;amp; ceil( &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Month(LastUpdate) /3) as Quarter;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date#(LastUpdate,'YYYYMM') as LastUpdate&lt;/P&gt;&lt;P&gt;from &amp;lt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 18:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-any-one-please-help-on-QlikView-Date-Formating/m-p/832005#M1018832</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-31T18:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can any one please help on QlikView Date Formating</title>
      <link>https://community.qlik.com/t5/QlikView/Can-any-one-please-help-on-QlikView-Date-Formating/m-p/832006#M1018833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for year you can do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left(LastUpdate, len(LastUpdate)-2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Qt try: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( Right(LastUpdate, Len(LastUpdate)-4) &amp;lt;=3 ,1, &lt;/P&gt;&lt;P&gt;If(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Right(LastUpdate, Len(LastUpdate)-4) &amp;gt; 3 and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Right(LastUpdate, Len(LastUpdate)-4) &amp;lt;= 6, 2, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if(Right(LastUpdate, Len(LastUpdate)-4) &amp;gt; 6 and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Right(LastUpdate, Len(LastUpdate)-4) &amp;lt;= 9, 3, 4)))&lt;/SPAN&gt;&lt;/SPAN&gt;&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;Rahul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 10:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-any-one-please-help-on-QlikView-Date-Formating/m-p/832006#M1018833</guid>
      <dc:creator />
      <dc:date>2015-04-01T10:02:26Z</dc:date>
    </item>
  </channel>
</rss>

