<?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: Regarding Month Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483672#M1141110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamsi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means it is being treated as text. Better you convert this text to date format during load. Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; Date#(Month,'MMM') as Month&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Sep 2013 11:27:33 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2013-09-05T11:27:33Z</dc:date>
    <item>
      <title>Regarding Month Field</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483667#M1141101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;i have loaded data from Oracle Database as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;D_NR,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REGION,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REGION_DESC,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CNTRY_NM,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUB_REGION_CD,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUB_REGION_DESC,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;W_L_PROB,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;W_L_STAT_CD,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BEG_DT,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;year(BEG_DT) as year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;month(BEG_DT) as month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;END_DT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM DEAL_DN where year(BEG_DT)='2013';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My problem is it's loading months as 1,2,3,4,5,6,7,8,9,10,11,12,&amp;nbsp; But i want to load as Jan, Feb, Mar...........&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i used&amp;nbsp;&amp;nbsp; "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;date(BEG_DT,'MMM') as Month&lt;/SPAN&gt;",&amp;nbsp;&amp;nbsp; "Month( Date#( Month,'MMM') ) as Month " also but i got error&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and While creating Quarter field using " &lt;STRONG&gt;'Q' &amp;amp; Ceil(Month("ORDER_BGN_DT")/3) as Quarter &lt;/STRONG&gt;" i'm getting error and RELOAD is failed. I attached the error Screenshots also.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please can anyone look into this issue and give me solution.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MV Reddy&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 05:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483667#M1141101</guid>
      <dc:creator />
      <dc:date>2013-09-05T05:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Month Field</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483668#M1141103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use qv functions under SQL command. You have to load the data into qlikview and then you can use qv functions like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;year(BEG_DT) as year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;month(BEG_DT) as month ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL Select * from &amp;lt;&amp;gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 06:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483668#M1141103</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-05T06:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Month Field</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483669#M1141105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the month, try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month(Date(BEG_DT, 'DD/MM/YYYY'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the DD/MM/YYYY to whatever your date format is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 06:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483669#M1141105</guid>
      <dc:creator>kangaroomac</dc:creator>
      <dc:date>2013-09-05T06:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Month Field</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483670#M1141106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your Reply, i did it using&amp;nbsp; "&lt;STRONG&gt;to_char("BEG_DT", 'mon') as Month&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;But Order of months is like apr,aug,dec,feb,jul,jun.....&lt;/P&gt;&lt;P&gt;But i want like jan, feb, mar, apr, may, jun.........dec as below screen&lt;/P&gt;&lt;P&gt;Please give me some idea on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/46235_Capture.PNG.png" /&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vamsi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 11:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483670#M1141106</guid>
      <dc:creator />
      <dc:date>2013-09-05T11:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Month Field</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483671#M1141108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Hi All,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;i did it using&amp;nbsp; "&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit;"&gt;to_char("BEG_DT", 'mon') as Month&lt;/STRONG&gt;&lt;SPAN style="line-height: 1.5em;"&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;But Order of months is like apr,aug,dec,feb,jul,jun.....&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;But i want like jan, feb, mar, apr, may, jun.........dec as below screen&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Please give me some idea on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-387618-46235/Capture.PNG.png" style="font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image jiveImage" height="189" src="https://community.qlik.com/legacyfs/online/46237_Capture.PNG.png" style="border: 0px; font-style: inherit; font-family: inherit;" width="147" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Vamsi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 11:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483671#M1141108</guid>
      <dc:creator />
      <dc:date>2013-09-05T11:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Month Field</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483672#M1141110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamsi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means it is being treated as text. Better you convert this text to date format during load. Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; Date#(Month,'MMM') as Month&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 11:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Month-Field/m-p/483672#M1141110</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-05T11:27:33Z</dc:date>
    </item>
  </channel>
</rss>

