<?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: Add Field to Existing Data Table in Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-Field-to-Existing-Data-Table-in-Load-Script/m-p/1550644#M597442</link>
    <description>&lt;P&gt;A quick option would add an inline table with the following script.&lt;/P&gt;&lt;P&gt;You can add additional&amp;nbsp;lines to each city and its region.&amp;nbsp; Make sure the city field name is associated correctly to your existing field.&lt;/P&gt;&lt;P&gt;Regions:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;BR /&gt;[City, Region&lt;BR /&gt;Milwaukee,Americas North&lt;BR /&gt;New York,Americas North&lt;BR /&gt;Brisbane,Australasia&lt;BR /&gt;London,Eurasia&lt;BR /&gt;];&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 16:48:55 GMT</pubDate>
    <dc:creator>skamath1</dc:creator>
    <dc:date>2019-02-28T16:48:55Z</dc:date>
    <item>
      <title>Add Field to Existing Data Table in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Field-to-Existing-Data-Table-in-Load-Script/m-p/1550630#M597441</link>
      <description>&lt;P&gt;I have a data table in my load script&amp;nbsp;that contains a field, [City]. I want to add a &lt;EM&gt;NEW&lt;/EM&gt;&amp;nbsp; field to the table, [Region].&lt;/P&gt;&lt;P&gt;[Region] does not currently exist and will need hard-coding to group the cities listed in the [City] field into specific regions in the new [Region] field.&lt;/P&gt;&lt;P&gt;EXAMPLE:&lt;/P&gt;&lt;P&gt;[Region] = ('Americas North', 'Eurasia', 'Australasia', 'LATAM', 'China')&lt;/P&gt;&lt;P&gt;[City] = ('Milwaukee', 'New York', 'Brisbane', 'London', etc...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the example, above, I would group 'Milwaukee' and 'New York' under "Americas North" in the Region field. That way my cities are grouped by region. This way I'm able to show metrics for a region, not limited to a city, or having to manually filter on all applicable cities.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any script syntax&amp;nbsp;help appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 16:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Field-to-Existing-Data-Table-in-Load-Script/m-p/1550630#M597441</guid>
      <dc:creator>CN</dc:creator>
      <dc:date>2019-02-28T16:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add Field to Existing Data Table in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Field-to-Existing-Data-Table-in-Load-Script/m-p/1550644#M597442</link>
      <description>&lt;P&gt;A quick option would add an inline table with the following script.&lt;/P&gt;&lt;P&gt;You can add additional&amp;nbsp;lines to each city and its region.&amp;nbsp; Make sure the city field name is associated correctly to your existing field.&lt;/P&gt;&lt;P&gt;Regions:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;BR /&gt;[City, Region&lt;BR /&gt;Milwaukee,Americas North&lt;BR /&gt;New York,Americas North&lt;BR /&gt;Brisbane,Australasia&lt;BR /&gt;London,Eurasia&lt;BR /&gt;];&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 16:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Field-to-Existing-Data-Table-in-Load-Script/m-p/1550644#M597442</guid>
      <dc:creator>skamath1</dc:creator>
      <dc:date>2019-02-28T16:48:55Z</dc:date>
    </item>
  </channel>
</rss>

