<?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: Date Format &amp; Merging Columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384148#M1168027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi Nayan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;You can try the following code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt; ='Forecast-' &amp;amp; Date#(date(YourDateField,'MMM-YY')) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Tom&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2012 06:30:55 GMT</pubDate>
    <dc:creator>thomas_skariah</dc:creator>
    <dc:date>2012-09-05T06:30:55Z</dc:date>
    <item>
      <title>Date Format &amp; Merging Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384147#M1168026</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;OL&gt;&lt;LI&gt;How do i change a date format from say, Jan 2012 to Jan-12&lt;/LI&gt;&lt;LI&gt;How do i merge columns.&amp;nbsp; I have the table below with each column showing Forecast, however i want to have a main heading called "Forecast" and the months below.&amp;nbsp; &lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Forecast - Jan 2012&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Forecast - Feb 2012&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Forecast - March 2012&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 06:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384147#M1168026</guid>
      <dc:creator />
      <dc:date>2012-09-05T06:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format &amp; Merging Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384148#M1168027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi Nayan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;You can try the following code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt; ='Forecast-' &amp;amp; Date#(date(YourDateField,'MMM-YY')) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Tom&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 06:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384148#M1168027</guid>
      <dc:creator>thomas_skariah</dc:creator>
      <dc:date>2012-09-05T06:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format &amp; Merging Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384149#M1168028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your feedback. . I've used your formula, but it did not work.&amp;nbsp; Im new at Qlikview, and below the table is the scripting for the columns that was created for us.&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 436px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="64" width="77"&gt;Forecast Sales Qty&amp;nbsp; Oct-2012&lt;/TD&gt;&lt;TD class="xl63" width="73"&gt;Forecast Sales Qty&amp;nbsp; Nov-2012&lt;/TD&gt;&lt;TD class="xl63" width="74"&gt;Forecast Sales Qty&amp;nbsp; Dec-2012&lt;/TD&gt;&lt;TD class="xl63" width="70"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;='Forecast Sales Qty&amp;nbsp; ' &amp;amp; month(addmonths(max([Trans Date]) ,1)) &amp;amp; '-' &amp;amp; year(addmonths(max([Trans Date]) ,1))&lt;/P&gt;&lt;P&gt;='Forecast Sales Qty&amp;nbsp; ' &amp;amp; month(addmonths(max([Trans Date]) ,2)) &amp;amp; '-' &amp;amp; year(addmonths(max([Trans Date]) ,2))&lt;/P&gt;&lt;P&gt;='Forecast Sales Qty&amp;nbsp; ' &amp;amp; month(addmonths(max([Trans Date]) ,3)) &amp;amp; '-' &amp;amp; year(addmonths(max([Trans Date]) ,3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 07:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384149#M1168028</guid>
      <dc:creator />
      <dc:date>2012-09-05T07:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format &amp; Merging Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384150#M1168029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nayan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this one&lt;/P&gt;&lt;P&gt;='Forecast Sales Qty&amp;nbsp; ' &amp;amp; month(addmonths(max([Trans Date]) ,1)) &amp;amp; '-' &amp;amp;date(date#(max(Year([Trans Date])), 'YYYY'),'YY').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 07:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384150#M1168029</guid>
      <dc:creator>thomas_skariah</dc:creator>
      <dc:date>2012-09-05T07:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format &amp; Merging Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384151#M1168030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for the dealyed reply.&amp;nbsp; The result is as follows where there year has fallen away:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="94"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="94"&gt;Forecast Sales Qty&amp;nbsp; Oct-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 10:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384151#M1168030</guid>
      <dc:creator />
      <dc:date>2012-09-05T10:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format &amp; Merging Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384152#M1168031</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;These are the expressions you need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Forecast Sales Qty&amp;nbsp; ' &amp;amp; Date(addmonths(max([Trans Date]), 1), 'MMM-YY')&lt;/P&gt;&lt;P&gt;='Forecast Sales Qty&amp;nbsp; ' &amp;amp; Date(addmonths(max([Trans Date]), 2), 'MMM-YY')&lt;/P&gt;&lt;P&gt;='Forecast Sales Qty&amp;nbsp; ' &amp;amp; Date(addmonths(max([Trans Date]), 3), 'MMM-YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 10:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384152#M1168031</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-09-05T10:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date Format &amp; Merging Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384153#M1168032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you help.&amp;nbsp; It worked.&amp;nbsp; On my 2nd query on how to merge columns, is there a way this can be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 11:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Format-Merging-Columns/m-p/384153#M1168032</guid>
      <dc:creator />
      <dc:date>2012-09-05T11:00:44Z</dc:date>
    </item>
  </channel>
</rss>

