<?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: Adding values to existing field in the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855351#M299821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's CSV. The first table has 6 columns and the second one has only 2 columns that has the same names as the fields in the first tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to join these two tables as I've written above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use "concatenate" if the number of fields of these tables isnt the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do i have to use 'Join'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Apr 2015 18:17:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-05T18:17:04Z</dc:date>
    <item>
      <title>Adding values to existing field in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855349#M299819</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;Guys, can anyone tellme how can I add values to an existing field in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have a field like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1:&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add values E,F,G.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The desired result is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field 1:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;A&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;B&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;C&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;D&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;E&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;F&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2015 15:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855349#M299819</guid>
      <dc:creator />
      <dc:date>2015-04-05T15:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adding values to existing field in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855350#M299820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hia Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on the way you load your data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This one will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Letterx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Letterx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; G&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you probably have to use the concatenate load and make sure the new data has the same structure/fields as &lt;/P&gt;&lt;P&gt;the original structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do load your data? Is it an ODBC connection? Excel? Txt/CSV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Share a part of your data and we'll tell you how to..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grtz Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2015 15:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855350#M299820</guid>
      <dc:creator>fred_s</dc:creator>
      <dc:date>2015-04-05T15:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding values to existing field in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855351#M299821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's CSV. The first table has 6 columns and the second one has only 2 columns that has the same names as the fields in the first tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to join these two tables as I've written above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use "concatenate" if the number of fields of these tables isnt the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do i have to use 'Join'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2015 18:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855351#M299821</guid>
      <dc:creator />
      <dc:date>2015-04-05T18:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding values to existing field in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855352#M299822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks like a 'join'.&lt;/P&gt;&lt;P&gt;Share some example records of your first and of your second table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grtz Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2015 18:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855352#M299822</guid>
      <dc:creator>fred_s</dc:creator>
      <dc:date>2015-04-05T18:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding values to existing field in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855353#M299823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use an "auto concatenate" or a "forced concatenation".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To enable the &lt;STRONG&gt;auto concatenation&lt;/STRONG&gt; you will have to add the extra columns on the second CSV by doing a preceding load where you populate nulls or some other appropriate value in the missing columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do a &lt;STRONG&gt;forced concatenation&lt;/STRONG&gt; you will have to write CONCATENATE in front of you LOAD statement and then the missing columns will automatically get nulls for the second table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14282654146641253" jivemacro_uid="_14282654146641253" modifiedtitle="true"&gt;
&lt;P&gt;T1:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field3,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field4,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field5,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field6&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [my-file1.csv] (txt, codepage is 1252, embedded labels, delimiter is '&lt;/SPAN&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 9pt; background-position: repeat;"&gt;;', msq);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;T2:&lt;/P&gt;
&lt;P&gt;CONCATENATE LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1 AS Field1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F2 AS Field2&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [my-file2.csv] (txt, codepage is 1252, embedded labels, delimiter is '&lt;/SPAN&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 9pt; background-position: repeat;"&gt;;', msq);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 9pt; background-position: repeat;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2015 20:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855353#M299823</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-04-05T20:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding values to existing field in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855354#M299824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I feel that it is a &lt;STRONG&gt;concatenate&lt;/STRONG&gt; from what you posted in your example above. You can definitely concatenate if the two data sources don't have the same number of columns (those columns which don't match up will remain null).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2015 23:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-values-to-existing-field-in-the-script/m-p/855354#M299824</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-05T23:13:57Z</dc:date>
    </item>
  </channel>
</rss>

