<?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: String to month name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/String-to-month-name/m-p/850457#M298298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are almost there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;month(Date#([Trade date],'YYYYMMDD')&amp;amp;'-'&amp;amp;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;year(Date#([Trade date],'YYYYMMDD') &lt;/SPAN&gt;as [Trade date], (jan-2014)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(month(Date#([Trade date],'YYYYMMDD'), '00')&amp;amp;'-'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;year(Date#([Trade date],'YYYYMMDD') &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;as [Trade date], (01-2014)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(month(Date#([Trade date],'YYYYMMDD'), '0')&amp;amp;'-'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;year(Date#([Trade date],'YYYYMMDD') &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;as [Trade date], (1-2014)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2015 07:52:48 GMT</pubDate>
    <dc:creator>Michiel_QV_Fan</dc:creator>
    <dc:date>2015-04-03T07:52:48Z</dc:date>
    <item>
      <title>String to month name</title>
      <link>https://community.qlik.com/t5/QlikView/String-to-month-name/m-p/850456#M298297</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;&lt;/P&gt;&lt;P&gt;I want to convert a date to month number + year (e.g., jan-2014), but I cannot get it to work. My dates are in the following format: 20140130. My script looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep='.';&lt;/P&gt;&lt;P&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='€ #.##0,00;€ -#.##0,00';&lt;/P&gt;&lt;P&gt;SET TimeFormat='h:mm:ss';&lt;/P&gt;&lt;P&gt;SET DateFormat='D-M-YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='D-M-YYYY h:mm:ss[.fff]';&lt;/P&gt;&lt;P&gt;SET MonthNames='jan;feb;mrt;apr;mei;jun;jul;aug;sep;okt;nov;dec';&lt;/P&gt;&lt;P&gt;SET DayNames='ma;di;wo;do;vr;za;zo';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Transaction No.], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Custodian, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#([Trade date],'YYYYMMDD'),'D-M-YYYY') as [Trade date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month([Trade 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;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My intention here was to convert the date to the format D-M-YYYY and then to read the month from the new format, but when I try it like this I get other months displayed. Can anyone provide a solution for this? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 07:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-to-month-name/m-p/850456#M298297</guid>
      <dc:creator />
      <dc:date>2015-04-03T07:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: String to month name</title>
      <link>https://community.qlik.com/t5/QlikView/String-to-month-name/m-p/850457#M298298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are almost there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;month(Date#([Trade date],'YYYYMMDD')&amp;amp;'-'&amp;amp;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;year(Date#([Trade date],'YYYYMMDD') &lt;/SPAN&gt;as [Trade date], (jan-2014)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(month(Date#([Trade date],'YYYYMMDD'), '00')&amp;amp;'-'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;year(Date#([Trade date],'YYYYMMDD') &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;as [Trade date], (01-2014)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(month(Date#([Trade date],'YYYYMMDD'), '0')&amp;amp;'-'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;year(Date#([Trade date],'YYYYMMDD') &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;as [Trade date], (1-2014)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 07:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-to-month-name/m-p/850457#M298298</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2015-04-03T07:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: String to month name</title>
      <link>https://community.qlik.com/t5/QlikView/String-to-month-name/m-p/850458#M298299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works! Thanks! Is it also possible to link this MonthYear with the underlying date? I want to keep my dates and want to perform a drill down in a graph so that when clicking on a bar with MonthYear, I get to see the underlying dates. My script now looks like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Transaction No.], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#([Trade date],'YYYYMMDD'),'D-M-YYYY') as [Trade date], &lt;/P&gt;&lt;P&gt;&amp;nbsp; month(Date#([Trade date],'YYYYMMDD'))&amp;amp;'-'&amp;amp;year(Date#([Trade date],'YYYYMMDD')) as [MonthYear],&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 08:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-to-month-name/m-p/850458#M298299</guid>
      <dc:creator />
      <dc:date>2015-04-03T08:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: String to month name</title>
      <link>https://community.qlik.com/t5/QlikView/String-to-month-name/m-p/850459#M298300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not exactly what you need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 08:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-to-month-name/m-p/850459#M298300</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2015-04-03T08:05:54Z</dc:date>
    </item>
  </channel>
</rss>

