<?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 Adding a derived field on a table box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-a-derived-field-on-a-table-box/m-p/224916#M77278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may do it by a mapping, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;MapMonth: MAPPING LOAD&lt;BR /&gt;*&lt;BR /&gt;INLINE&lt;BR /&gt;[M,Month&lt;BR /&gt;1, January&lt;BR /&gt;2, February&lt;BR /&gt;3, March&lt;BR /&gt;etc];&lt;BR /&gt;Data:&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;APPLYMAP('MapMonth', MonthNum);&lt;BR /&gt;SQL SELECT&lt;BR /&gt;MonthNum,&lt;BR /&gt;...&lt;BR /&gt;FROM ....;&amp;lt;pre&amp;gt;&lt;BR /&gt;Albeit I always would prefer to convert the monthnumber into a real date, as it eases lateron a lot in the datarelations.&lt;BR /&gt;HTH&lt;BR /&gt;Peter&amp;lt;/body&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Feb 2011 12:38:18 GMT</pubDate>
    <dc:creator>prieper</dc:creator>
    <dc:date>2011-02-22T12:38:18Z</dc:date>
    <item>
      <title>Adding a derived field on a table box</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-derived-field-on-a-table-box/m-p/224915#M77277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm reading a SQL Server table and I'm putting the query result on a table box. In my SQL table I have a numeric month field and I want to show the name of month (January, February, March etc.). How can I add a derived field of the numeric month field on the table box? Do I need specify it in the SQL command at script level?&lt;/P&gt;&lt;P&gt;Thanks for your suggests.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 11:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-derived-field-on-a-table-box/m-p/224915#M77277</guid>
      <dc:creator />
      <dc:date>2011-02-22T11:56:40Z</dc:date>
    </item>
    <item>
      <title>Adding a derived field on a table box</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-derived-field-on-a-table-box/m-p/224916#M77278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may do it by a mapping, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;MapMonth: MAPPING LOAD&lt;BR /&gt;*&lt;BR /&gt;INLINE&lt;BR /&gt;[M,Month&lt;BR /&gt;1, January&lt;BR /&gt;2, February&lt;BR /&gt;3, March&lt;BR /&gt;etc];&lt;BR /&gt;Data:&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;APPLYMAP('MapMonth', MonthNum);&lt;BR /&gt;SQL SELECT&lt;BR /&gt;MonthNum,&lt;BR /&gt;...&lt;BR /&gt;FROM ....;&amp;lt;pre&amp;gt;&lt;BR /&gt;Albeit I always would prefer to convert the monthnumber into a real date, as it eases lateron a lot in the datarelations.&lt;BR /&gt;HTH&lt;BR /&gt;Peter&amp;lt;/body&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 12:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-derived-field-on-a-table-box/m-p/224916#M77278</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-02-22T12:38:18Z</dc:date>
    </item>
    <item>
      <title>Adding a derived field on a table box</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-derived-field-on-a-table-box/m-p/224917#M77279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you have the date in a traditional format style (eg: 01/01/2011) then add the field to the Table Box as normal, go to Properties &amp;gt; Number &amp;gt; chech the Overide Default button and set the format of the Date field to be 'MMM' that would return 'Jan' based on an actual value of '01/01/2011'.&lt;/P&gt;&lt;P&gt;Alternatively you can as you suggest amend the script or as I often do simple create a Straight Table as this gives you much more flexibility.&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 12:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-derived-field-on-a-table-box/m-p/224917#M77279</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-02-22T12:39:19Z</dc:date>
    </item>
  </channel>
</rss>

