<?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 Convert SAP month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-SAP-month/m-p/178464#M45656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please see this answer&lt;/P&gt;&lt;P&gt;http://community.qlik.com/forums/p/39597/156035.aspx#156035&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;PS. By the way maybe your error is this:&lt;/P&gt;&lt;P&gt;you have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;DATE#(MONTH&amp;amp;' '&amp;amp;YEAR, 'MMM/YY') as MONTH_YEAR&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;but if you are concatenating 1 space, the second parameter is wrong, it has to be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;DATE#(MONTH&amp;amp;' '&amp;amp;YEAR, 'MMM YY') as MONTH_YEAR&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;then you can do something like these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;num(month(DATE#(MONTH&amp;amp;' '&amp;amp;YEAR, 'MMM YY'))) return the numeric value of the month&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Remember also, check the variable &lt;B&gt;MonthNames&lt;/B&gt;, because 'Jan' is different from 'jan'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jan 2011 13:17:27 GMT</pubDate>
    <dc:creator>hector</dc:creator>
    <dc:date>2011-01-21T13:17:27Z</dc:date>
    <item>
      <title>Convert SAP month</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SAP-month/m-p/178462#M45654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm importing the month from SAP to QV.&lt;/P&gt;&lt;P&gt;The value for months are in Jan, Feb, Mar, ...&lt;/P&gt;&lt;P&gt;When i import to QV, i think it recognises it as text so when i concate with year, it's doing a normal sort a-z.&lt;/P&gt;&lt;P&gt;i tried &amp;gt;&amp;gt;&amp;gt; DATE#(MONTH&amp;amp;' '&amp;amp;YEAR, 'MMM/YY') as MONTH_YEAR, but it's not working well.&lt;/P&gt;&lt;P&gt;Can someone help?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 03:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SAP-month/m-p/178462#M45654</guid>
      <dc:creator />
      <dc:date>2011-01-21T03:25:28Z</dc:date>
    </item>
    <item>
      <title>Convert SAP month</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SAP-month/m-p/178463#M45655</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 this expression...&lt;/P&gt;&lt;P&gt;date(date#(01 &amp;amp; '/' &amp;amp; 'Jan' &amp;amp; '/' &amp;amp; 2000,'DD/MMM/YYYY'),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a day 01 to your yearmonth and make it as Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 03:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SAP-month/m-p/178463#M45655</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-01-21T03:36:50Z</dc:date>
    </item>
    <item>
      <title>Convert SAP month</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-SAP-month/m-p/178464#M45656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please see this answer&lt;/P&gt;&lt;P&gt;http://community.qlik.com/forums/p/39597/156035.aspx#156035&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;PS. By the way maybe your error is this:&lt;/P&gt;&lt;P&gt;you have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;DATE#(MONTH&amp;amp;' '&amp;amp;YEAR, 'MMM/YY') as MONTH_YEAR&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;but if you are concatenating 1 space, the second parameter is wrong, it has to be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;DATE#(MONTH&amp;amp;' '&amp;amp;YEAR, 'MMM YY') as MONTH_YEAR&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;then you can do something like these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;num(month(DATE#(MONTH&amp;amp;' '&amp;amp;YEAR, 'MMM YY'))) return the numeric value of the month&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Remember also, check the variable &lt;B&gt;MonthNames&lt;/B&gt;, because 'Jan' is different from 'jan'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 13:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-SAP-month/m-p/178464#M45656</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2011-01-21T13:17:27Z</dc:date>
    </item>
  </channel>
</rss>

