<?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 Assign Months to field values based on previous column header position in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Assign-Months-to-field-values-based-on-previous-column-header/m-p/164074#M36903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;J-rawk,&lt;/P&gt;&lt;P&gt;Welcome to the Community! We're glad to have you.&lt;/P&gt;&lt;P&gt;As far as your question goes, I'm not quite sure I understand, but I'll do my best to help (I'm only the Community Manager, all of the technical QV gurus must have a life on weekends &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt; )&lt;/P&gt;&lt;P&gt;It sounds like you have the function worked out, you just want to rename the field in the load script? Here's an example where I perform a function on a field called "Joined" and rename it "Weekday":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;weekday(floor(Joined)) &lt;B&gt;as&lt;/B&gt; Weekday,&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Is that what you were looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Aug 2009 12:07:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-23T12:07:05Z</dc:date>
    <item>
      <title>Assign Months to field values based on previous column header position</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-Months-to-field-values-based-on-previous-column-header/m-p/164073#M36902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, I am new to Qlikview and this site. I am hoping someone can suggest how I can assign month names (i.e. "Jan--09") to field values. This data is coming in from a transposed Text file, where the field values in the "month" column correspond only to their previous column header position. The table only contains the most recent 24 months of data at any given time.&lt;/P&gt;&lt;P&gt;I can automatically extropolate the current DataMonth. And I know I can build on this using the "addmonths" function, but I'm not sure how to rename the fields using this information. Thank you, I appreciate any help you can offer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2009 06:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-Months-to-field-values-based-on-previous-column-header/m-p/164073#M36902</guid>
      <dc:creator />
      <dc:date>2009-08-23T06:49:44Z</dc:date>
    </item>
    <item>
      <title>Assign Months to field values based on previous column header position</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-Months-to-field-values-based-on-previous-column-header/m-p/164074#M36903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;J-rawk,&lt;/P&gt;&lt;P&gt;Welcome to the Community! We're glad to have you.&lt;/P&gt;&lt;P&gt;As far as your question goes, I'm not quite sure I understand, but I'll do my best to help (I'm only the Community Manager, all of the technical QV gurus must have a life on weekends &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt; )&lt;/P&gt;&lt;P&gt;It sounds like you have the function worked out, you just want to rename the field in the load script? Here's an example where I perform a function on a field called "Joined" and rename it "Weekday":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;weekday(floor(Joined)) &lt;B&gt;as&lt;/B&gt; Weekday,&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Is that what you were looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2009 12:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-Months-to-field-values-based-on-previous-column-header/m-p/164074#M36903</guid>
      <dc:creator />
      <dc:date>2009-08-23T12:07:05Z</dc:date>
    </item>
  </channel>
</rss>

