<?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: Column Header has current year value in it in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745333#M266092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As jpapador pointed out, it's easy if "LOAD *" work for you. If not, you can form the column names dynamically like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vYear = Date(today(),'YY');&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; [Jan $(vYear)],&lt;/P&gt;&lt;P&gt; [Feb $(vYear)],&lt;/P&gt;&lt;P&gt;.. and so on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 22:17:07 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2015-01-06T22:17:07Z</dc:date>
    <item>
      <title>Column Header has current year value in it</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745329#M266088</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 have a table that has current year value in it. now that we are at the new year the script failed to load and i need to change the headers names from [Jan 14] to [Jan15] and [Feb 14] to [Feb15] and so on.. &lt;/P&gt;&lt;P&gt;Is there any dynamic way to pass Year of today into the header of the columns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745329#M266088</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2015-01-06T21:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Column Header has current year value in it</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745330#M266089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide anymore detail?&amp;nbsp; It is unclear what you are trying to accomplish,&amp;nbsp; the statement Year(Today()) will return the year of today in both the script and expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 21:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745330#M266089</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2015-01-06T21:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Column Header has current year value in it</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745331#M266090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sure, I have a source table with columns as follow:&lt;/P&gt;&lt;P&gt;Jan 14&lt;/P&gt;&lt;P&gt;Feb 14&lt;/P&gt;&lt;P&gt;Mar 14&lt;/P&gt;&lt;P&gt; and i loaded it into QlikView last year. the table headers have been changed as we entered 2015 to be:&lt;/P&gt;&lt;P&gt;Jan 15&lt;/P&gt;&lt;P&gt;Feb 15&lt;/P&gt;&lt;P&gt;Mar 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to make the headers within the script dynamic so i don't face the issue every year..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 22:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745331#M266090</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2015-01-06T22:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Column Header has current year value in it</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745332#M266091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a reason you cannot do a load * in your script instead of specifically naming out the fields from the source table?&amp;nbsp; It may be helpful if you can post a screen shot or a sample of your load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 22:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745332#M266091</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2015-01-06T22:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Column Header has current year value in it</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745333#M266092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As jpapador pointed out, it's easy if "LOAD *" work for you. If not, you can form the column names dynamically like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vYear = Date(today(),'YY');&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; [Jan $(vYear)],&lt;/P&gt;&lt;P&gt; [Feb $(vYear)],&lt;/P&gt;&lt;P&gt;.. and so on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 22:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745333#M266092</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-06T22:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Column Header has current year value in it</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745334#M266093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rob! This is a right.. for some reason i dont see a button to to click and show as correct answer..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 14:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745334#M266093</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2015-01-07T14:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Column Header has current year value in it</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745335#M266094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Alec,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad it worked. There is no "correct" answer button because the the original post is not set as a question. Don't know if there is any way to change that now, but in the future watch for that little check box at the top when you create new questions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 14:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Header-has-current-year-value-in-it/m-p/745335#M266094</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-07T14:58:06Z</dc:date>
    </item>
  </channel>
</rss>

