<?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 Retrieve Month from text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028538#M643666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good evening,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I I have to retrieve month from text column . The column is labelled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'ValueJan'&lt;/P&gt;&lt;P&gt;'ValueFeb'&lt;/P&gt;&lt;P&gt;'ValueMar'&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;and soo on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can correctly retrieve the month ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2016 14:31:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-19T14:31:23Z</dc:date>
    <item>
      <title>Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028538#M643666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good evening,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I I have to retrieve month from text column . The column is labelled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'ValueJan'&lt;/P&gt;&lt;P&gt;'ValueFeb'&lt;/P&gt;&lt;P&gt;'ValueMar'&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;and soo on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can correctly retrieve the month ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 14:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028538#M643666</guid>
      <dc:creator />
      <dc:date>2016-01-19T14:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028539#M643667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Month (date#(right (field,3),'MMM'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 15:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028539#M643667</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-01-19T15:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028540#M643668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112018_Screenshot_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 15:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028540#M643668</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-01-19T15:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028541#M643669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for the help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's possible to make the same thing but from the left?&lt;/P&gt;&lt;P&gt;In my precedent post I have insert wrong month names for error. The real textcolumn have the month in italian, like this&lt;/P&gt;&lt;P&gt;ValueGennaio,&lt;/P&gt;&lt;P&gt;ValueFebbraio,&lt;/P&gt;&lt;P&gt;ValueMarco,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the best for me it's truncate the part 'Value',and calculate month for the remaining part &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 08:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028541#M643669</guid>
      <dc:creator />
      <dc:date>2016-01-20T08:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028542#M643670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Couple of ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Replace(FieldName, 'Value', '')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mid(FieldName, 6, Len(FieldName) - 4)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 09:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028542#M643670</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-20T09:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028543#M643671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use replace function to get MonthName.&lt;/P&gt;&lt;P&gt;Replace(FieldName, 'Value', '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later create inline table with MonthName &amp;amp; month number, so you will get month number as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 09:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028543#M643671</guid>
      <dc:creator>manojkulkarni</dc:creator>
      <dc:date>2016-01-20T09:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028544#M643672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use following script&lt;/P&gt;&lt;P&gt;let s2 = '-1234567890.';&lt;/P&gt;&lt;P&gt;LOAD *,PurgeChar(ValueMonth, $(s2)) as Month INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ValueMonth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1Jan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 23Fev&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 456Mar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7890Abr&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 10:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028544#M643672</guid>
      <dc:creator />
      <dc:date>2016-01-20T10:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028545#M643673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your input data field value always static string with month name then you can use the Replace function to extract the Month name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trim(Replace(FieldName,'Value','')) AS MonthName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your string value varies for each value then you can do with &lt;STRONG&gt;mapping table &lt;/STRONG&gt;&amp;amp; &lt;STRONG&gt;mapsubsting&lt;/STRONG&gt; function like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_Month:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Input, Value&lt;/P&gt;&lt;P&gt;JAN,&amp;lt;Jan&amp;gt;&lt;/P&gt;&lt;P&gt;FEB,&amp;lt;Feb&amp;gt;&lt;/P&gt;&lt;P&gt;MAR,&amp;lt;Mar&amp;gt;&lt;/P&gt;&lt;P&gt;APR, &amp;lt;Apr&amp;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;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextBetween(Mapsubsting('Map_month',FieldName),'&amp;lt;','&amp;gt;',1) AS MonthName&lt;/P&gt;&lt;P&gt;From Source;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: You can change the map table according to your input values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 15:34:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028545#M643673</guid>
      <dc:creator />
      <dc:date>2016-01-20T15:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028546#M643674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Small change:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TextBetween(Mapsubsting('Map_month',UPPER(FieldName)),'&amp;lt;','&amp;gt;',1) AS MonthName&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 15:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028546#M643674</guid>
      <dc:creator />
      <dc:date>2016-01-20T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028547#M643675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you the others suggestion?&lt;/P&gt;&lt;P&gt;May be the complete code like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Month (date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Replace(Field, 'Value', '')&lt;/SPAN&gt;,'MMMM')) as Month&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 15:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028547#M643675</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-01-20T15:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028548#M643676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might also have to set your LongMonthNames variable to your local month names to make the Date#( ... ,'MMMM') approach work.&lt;/P&gt;&lt;P&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 01:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028548#M643676</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-01-21T01:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Month from text</title>
      <link>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028549#M643677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield(YourField, 'Value', 2)&lt;/P&gt;&lt;P&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 01:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retrieve-Month-from-text/m-p/1028549#M643677</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-01-21T01:03:42Z</dc:date>
    </item>
  </channel>
</rss>

