<?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: How can I separate a Year/Month field into two fields in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66843#M781133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need the full moth name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 19:41:35 GMT</pubDate>
    <dc:creator>cliff_clayman</dc:creator>
    <dc:date>2018-03-21T19:41:35Z</dc:date>
    <item>
      <title>How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66835#M781115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field named [Year/month] and the values look like this: 2018/01&amp;nbsp; I need to pull out the Year value and the Month value as a name.&amp;nbsp; I want to do this in the script.&amp;nbsp; How can I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66835#M781115</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66836#M781116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date#([Year/month],'YYYY/MM') as [Year/month],&lt;/P&gt;&lt;P&gt;Year(Date#([Year/month],'YYYY/MM')) as Year,&lt;/P&gt;&lt;P&gt;Month(Date#([Year/month],'YYYY/MM')) as Month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 18:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66836#M781116</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2018-03-21T18:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66837#M781117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the subfield function in the expr where ever you would like to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;subfield(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Year/month],'/',1) for field Year and &lt;SPAN style="font-size: 13.3333px;"&gt;subfield(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Year/month],'/',2)&amp;nbsp; for Month&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 18:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66837#M781117</guid>
      <dc:creator>ychaitanya</dc:creator>
      <dc:date>2018-03-21T18:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66838#M781118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Left([Year/month], 4) AS MyYear, &lt;SPAN style="font-size: 10pt;"&gt;Right([Year/month], 2) AS MyMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 18:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66838#M781118</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-03-21T18:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66839#M781119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need the MyMonth to be Month name and not Month num.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 18:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66839#M781119</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2018-03-21T18:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66840#M781122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use inline load&amp;nbsp; as &lt;/P&gt;&lt;P&gt;Mnth_Map:&lt;/P&gt;&lt;P&gt;Mapping Load * INLINE&lt;/P&gt;&lt;P&gt;[ Mnth_Num,Mnth_Name&lt;/P&gt;&lt;P&gt;1, Jan&lt;/P&gt;&lt;P&gt;2,Feb&lt;/P&gt;&lt;P&gt;3,Mar&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;ApplyMap('Mnth_Map',subfield(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;[Year/month],'/',2) ) as Month_Name,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;subfield(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;[Year/month],'/',1)&amp;nbsp; as Year&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 18:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66840#M781122</guid>
      <dc:creator>ychaitanya</dc:creator>
      <dc:date>2018-03-21T18:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66841#M781127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried as per my answer?&lt;/P&gt;&lt;P&gt;You will get something like below.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197046_Capture.JPG" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 19:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66841#M781127</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2018-03-21T19:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66842#M781131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Month(MakeDate(2018,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Right([Year/month], 2)&lt;/SPAN&gt;)) as MyMonthName&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 19:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66842#M781131</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-03-21T19:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66843#M781133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need the full moth name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 19:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66843#M781133</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2018-03-21T19:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66844#M781134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Date#([Year/month],'YYYY/MM') as [Year/month],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Year(Date#([Year/month],'YYYY/MM')) as Year,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Date(Date#(Month(Date#([Year/month],'YYYY/MM')),'MMM'),'MMMM') as Month &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Inline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;[&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Year/month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; 2018/01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; 2018/02&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; 2018/03 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 20:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66844#M781134</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2018-03-21T20:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I separate a Year/Month field into two fields in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66845#M781135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Long Month&lt;/P&gt;&lt;P&gt;Date(Date#(SubField('2017/12','/',2),'MM'),'MMMM')&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SubField('2017/12','/',1)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 11:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-separate-a-Year-Month-field-into-two-fields-in-script/m-p/66845#M781135</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-03-22T11:23:05Z</dc:date>
    </item>
  </channel>
</rss>

