<?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 Concatenate month and year variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641417#M1090569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a column 'Month' which contains the month names and another variable 'year' which contains years 'YYYY'. How do I concatenate these 2 variables? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 10:03:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-21T10:03:23Z</dc:date>
    <item>
      <title>Concatenate month and year variable</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641417#M1090569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a column 'Month' which contains the month names and another variable 'year' which contains years 'YYYY'. How do I concatenate these 2 variables? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 10:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641417#M1090569</guid>
      <dc:creator />
      <dc:date>2014-05-21T10:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate month and year variable</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641418#M1090574</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 concatenate two fields&lt;/P&gt;&lt;P&gt;Month &amp;amp;'/'&amp;amp; Year as MonthYear&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Padma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 10:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641418#M1090574</guid>
      <dc:creator />
      <dc:date>2014-05-21T10:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate month and year variable</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641419#M1090575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rachel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you have two variables do this:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET NewVariable = $(MonthVariable) &amp;amp; $(YearVariable);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But if you want to concatenate values stored in one table column (Month) whith one variable you must do it into the script using this&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; into the LOAD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldName &amp;amp; VariableName as NewFieldName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month &amp;amp; vYear as MonthYear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let me know if you need more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 10:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641419#M1090575</guid>
      <dc:creator />
      <dc:date>2014-05-21T10:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate month and year variable</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641420#M1090576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you have created a master calendar and you can add the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create a field called MonthYear automatically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Monthstart(TempDate),'MMM-YYYY') as MonthYear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 10:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641420#M1090576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T10:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate month and year variable</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641421#M1090577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. if they are two fields then use it like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Month&amp;amp;'-'&amp;amp;Year&amp;nbsp; as NewField&lt;/P&gt;&lt;P&gt;From Location;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. And if they are variables then use it like&lt;/P&gt;&lt;P&gt;Let vNewVariable =&amp;nbsp; $(vMonthVar)&amp;amp;'-'&amp;amp;$(vYearVar)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. if Year is variable and month is field then&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Month&amp;amp;'-'&amp;amp;'$(vMonthVar)' as NewField&lt;/P&gt;&lt;P&gt;From Location;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 10:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-month-and-year-variable/m-p/641421#M1090577</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-21T10:18:45Z</dc:date>
    </item>
  </channel>
</rss>

