<?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 Concatenate and Qualify problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153287#M30380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the workaround I already use.&lt;/P&gt;&lt;P&gt;Too bad I have in my real application more than 1 field &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the documentation in French, and it says something like that "the new name will be &lt;I&gt;tablename.fieldname&lt;/I&gt;. &lt;B&gt;&lt;I&gt;fieldname&lt;/I&gt; is the label of the current table&lt;/B&gt; or, if there is no label, the name that appears after the from".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;Le nouveau nom suivra le modèle nomdetable.nomdechamp. &lt;B&gt;Nomdetable correspond à&lt;BR /&gt; l'étiquette de la table active&lt;/B&gt; ou, si aucune étiquette n'existe, au nom apparaissant après from dans les instructions load et select.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I though that "&lt;I&gt;concatenate (table1)&lt;/I&gt;" would specify that "table1" is the current table &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jan 2011 18:01:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-04T18:01:35Z</dc:date>
    <item>
      <title>Concatenate and Qualify problem</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153285#M30378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with the "QUALIFY *" statement when I'm using the keyword "concatenate".&lt;/P&gt;&lt;P&gt;Let's say I have the following table :&lt;/P&gt;&lt;P&gt;[CODE]&lt;/P&gt;&lt;P&gt;QUALIFY *;&lt;BR /&gt;Table1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Field A&lt;BR /&gt;];&lt;BR /&gt;UNQUALIFY *;&lt;/P&gt;&lt;P&gt;[/CODE]&lt;/P&gt;&lt;P&gt;I also have another table that have contents :&lt;/P&gt;&lt;P&gt;[CODE]&lt;/P&gt;&lt;P&gt;UNQUALIFY *;&lt;BR /&gt;Tabletmp:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Field A tmp&lt;BR /&gt;Abc&lt;BR /&gt;Def&lt;BR /&gt;Ghi&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;[/CODE]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, I want to add to my "Table1" the data of my Tabletmp :&lt;/P&gt;&lt;P&gt;[CODE]&lt;/P&gt;&lt;P&gt;QUALIFY *;&lt;BR /&gt;CONCATENATE (Table1) LOAD [Field A tmp] AS [Field A]&lt;BR /&gt;RESIDENT Tabletmp;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE Tabletmp;&lt;/P&gt;&lt;P&gt;[/CODE]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed this would work, prefixing each filed with "Table1".&lt;/P&gt;&lt;P&gt;But unfortunatly, I don"t have the fields I wanted : my Table1 is composed of "Table1.Field A" that is always empty, and a field "Tabletmp-1.Field A" that contains the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why the "QUALIFY" takes the &lt;B&gt;source&lt;/B&gt; table name instead of the &lt;B&gt;destination&lt;/B&gt; table name ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I'm using QlikView 9 SR 6)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 17:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153285#M30378</guid>
      <dc:creator />
      <dc:date>2011-01-04T17:05:18Z</dc:date>
    </item>
    <item>
      <title>Concatenate and Qualify problem</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153286#M30379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;nmartin wrote:Why the "QUALIFY" takes the &lt;STRONG&gt;source&lt;/STRONG&gt; table name instead of the &lt;STRONG&gt;destination&lt;/STRONG&gt; table name ?&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That's the intented use for Qualify, and so is documented, preceding the loading fields with the name of the table those fields belong. For this particular case, you can workaround that, unqualifying the temp table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;QUALIFY *;Table1:LOAD * INLINE [Field A];UNQUALIFY *; Tabletmp:LOAD * INLINE [Field A tmpAbcDefGhi]; CONCATENATE (Table1) LOAD [Field A tmp] AS [Table1.Field A]RESIDENT Tabletmp; DROP TABLE Tabletmp;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 17:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153286#M30379</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-01-04T17:28:51Z</dc:date>
    </item>
    <item>
      <title>Concatenate and Qualify problem</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153287#M30380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the workaround I already use.&lt;/P&gt;&lt;P&gt;Too bad I have in my real application more than 1 field &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the documentation in French, and it says something like that "the new name will be &lt;I&gt;tablename.fieldname&lt;/I&gt;. &lt;B&gt;&lt;I&gt;fieldname&lt;/I&gt; is the label of the current table&lt;/B&gt; or, if there is no label, the name that appears after the from".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;Le nouveau nom suivra le modèle nomdetable.nomdechamp. &lt;B&gt;Nomdetable correspond à&lt;BR /&gt; l'étiquette de la table active&lt;/B&gt; ou, si aucune étiquette n'existe, au nom apparaissant après from dans les instructions load et select.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I though that "&lt;I&gt;concatenate (table1)&lt;/I&gt;" would specify that "table1" is the current table &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 18:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153287#M30380</guid>
      <dc:creator />
      <dc:date>2011-01-04T18:01:35Z</dc:date>
    </item>
    <item>
      <title>Concatenate and Qualify problem</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153288#M30381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;nmartin wrote:I though that "&lt;I&gt;concatenate (table1)&lt;/I&gt;" would specify that "table1" is the current table &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It says likewise in Spanish (obviously). Although you are concatenating, the source table in your case is the RESIDENT table, since there are still two tables. After the concatenation (say, another resident load), the first table name will be the qualifier. But if that's the problem, why don't you rename the fields you want to use for concatenation? You can specify which fields have or have not to be qualified:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;QUALIFY *;UNQUALIFY CustomerID, OrderID;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This shold even save you some time.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 18:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153288#M30381</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-01-04T18:06:30Z</dc:date>
    </item>
    <item>
      <title>Concatenate and Qualify problem</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153289#M30382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll manage on my own with the syntax... (not hard, but long)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But thanks to you, now I understand better how "QUALIFY" works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 18:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-and-Qualify-problem/m-p/153289#M30382</guid>
      <dc:creator />
      <dc:date>2011-01-04T18:29:38Z</dc:date>
    </item>
  </channel>
</rss>

