<?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: Chain fields from 2 tables together in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chain-fields-from-2-tables-together/m-p/470182#M175588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas? Anyone?&lt;/P&gt;&lt;P&gt;Any hints appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2013 08:06:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-27T08:06:43Z</dc:date>
    <item>
      <title>Chain fields from 2 tables together</title>
      <link>https://community.qlik.com/t5/QlikView/Chain-fields-from-2-tables-together/m-p/470181#M175587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following script has the issue that in won't chain &lt;SPAN class="ver" title="If the subject is plural, the verb should not end in “s”, e.g.: &amp;lt;i&amp;gt;The students wor&amp;lt;b&amp;gt;k&amp;lt;/b&amp;gt; hard&amp;lt;/i&amp;gt;."&gt;the fields Changes&lt;/SPAN&gt;.&lt;SPAN class="ver" title="Consider changing the order of these words."&gt;A from&lt;/SPAN&gt; table Changes and B from table Types together. I tried working with the column identifiers (A, B) and aliases (Change and Name), both in qualified and unqualified form. Whenever I execute the script I get the error that it's unable to find the first field used in the concatenation of the Strings ([&lt;SPAN class="ver" title="There should be a space at the beginning of the sentence."&gt;Changes.A&lt;/SPAN&gt;] &amp;amp;'/'&amp;amp; &lt;B&gt; as &lt;SPAN class="ver" title="There seem to be two words together here. Perhaps you should separate them and start another sentence."&gt;script_TestConcact&lt;/SPAN&gt;).&lt;/B&gt;&lt;/P&gt;&lt;P&gt;The script works fine without the linked string, the tables are joined correctly by their common column Type (please do not advise me that I shouldn't use JOINs in Qlikview - I'm aware of it). Chaining fields from the same table works also fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So hopefully anyone can help me out? Thanks for your ideas in advance!&lt;/P&gt;&lt;P&gt;Kind regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13618672914943855" jivemacro_uid="_13618672914943855"&gt;&lt;P&gt;SET ThousandSep='.';&lt;BR /&gt;SET DecimalSep=',';&lt;BR /&gt;SET MoneyThousandSep='.';&lt;BR /&gt;SET MoneyDecimalSep=',';&lt;BR /&gt;SET MoneyFormat='#.##0,00 €;-#.##0,00 €';&lt;BR /&gt;SET TimeFormat='hh:mm:ss';&lt;BR /&gt;SET DateFormat='DD.MM.YYYY';&lt;BR /&gt;SET TimestampFormat='DD.MM.YYYY hh:mm:ss[.fff]';&lt;BR /&gt;SET MonthNames='Jan;Feb;Mrz;Apr;Mai;Jun;Jul;Aug;Sep;Okt;Nov;Dez';&lt;BR /&gt;SET DayNames='Mo;Di;Mi;Do;Fr;Sa;So';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SET NullInterpret='';&lt;/P&gt;&lt;P&gt;QUALIFY A;&lt;BR /&gt;Changes:&lt;BR /&gt;LOAD A as Change,&lt;BR /&gt;&amp;nbsp; D as Due_Date,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E as Due_Week,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G as Count_Types, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H as Type&lt;BR /&gt;FROM&lt;BR /&gt;[$(vp_FilePathIn)]&lt;BR /&gt;(ooxml, no labels, header is 1 lines, table is [$(vp_TableName)]);&lt;/P&gt;&lt;P&gt;Types:&lt;BR /&gt;INNER Join(Changes)&lt;BR /&gt;LOAD A as Type,&lt;BR /&gt;&amp;nbsp; If(B='NV', null(), B) as Name/*,&lt;BR /&gt;&amp;nbsp; [Changes.A] &amp;amp;'/'&amp;amp; &lt;B&gt; as script_TestConcact&lt;BR /&gt;&amp;nbsp; /*,&lt;BR /&gt;&amp;nbsp; Changes.Change &amp;amp;'/'&amp;amp; Types.Type as script_TestConcat*/&lt;BR /&gt;FROM&lt;BR /&gt;[\\somePath\Data.xlsx] (ooxml, no labels, table is "Types", header is 1 lines);&lt;/B&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 08:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chain-fields-from-2-tables-together/m-p/470181#M175587</guid>
      <dc:creator />
      <dc:date>2013-02-26T08:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Chain fields from 2 tables together</title>
      <link>https://community.qlik.com/t5/QlikView/Chain-fields-from-2-tables-together/m-p/470182#M175588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas? Anyone?&lt;/P&gt;&lt;P&gt;Any hints appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 08:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chain-fields-from-2-tables-together/m-p/470182#M175588</guid>
      <dc:creator />
      <dc:date>2013-02-27T08:06:43Z</dc:date>
    </item>
  </channel>
</rss>

