<?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 Join- with qualify fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-with-qualify-fields/m-p/155087#M716378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;So far i've used a lot of mappings to bring fields from one table to another. At the beginning I only needed to copy one or two fields, but i need more. OJO: all my tables are qualify.&lt;/P&gt;&lt;P&gt;I think the best way is using join, the left one in my case. Isn't it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explaining myself: I've a table X with a client_code. The clients have master table (obviously) named CLIENT and another 2 ones with them type (CLIENT_TYPE) and channel (CLIENT_CHANNEL).&lt;/P&gt;&lt;P&gt;&lt;I&gt;So, I need the name of the type and channel in the X table.&lt;/I&gt; I know u could recommend me to link the tables (i've done already) but this X table i need it separated of the rest of the model.&lt;/P&gt;&lt;P&gt;As I told you before, i'm using mappings, but I'm desperated for another solution 'cause I've too many mappings in all my 25 tables.&lt;/P&gt;&lt;P&gt;So, I've tried with JOIN, and I'm not use at all to use them, I'm kind of confuse, Let me show you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;//////////////////////// CHANNEL CLIENT&lt;BR /&gt;CHANNEL_CLIENT:&lt;BR /&gt;QUALIFY *;&lt;BR /&gt;UNQUALIFY CO_CHANNEL;&lt;BR /&gt;Load CO_CHANEL AS CO_CHANNEL,&lt;BR /&gt; &lt;B&gt;NA_CHANEL&lt;/B&gt;&lt;BR /&gt;FROM QvD\CHANNEL_CLIENT.QVD (qvd);&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;//******************* PARA LA GESTION DE LA FACTURACIÓN ********************//&lt;BR /&gt;&lt;B&gt;X:&lt;/B&gt;&lt;BR /&gt;QUALIFY *;&lt;BR /&gt;UNQUALIFY TT_Mes_Emis, TT_Anno_Emis, T_Quarter, T_VEN_DES, T_CLIENT_NAME, T_CO_CATEGORIA, T_CO_LINE_PRODUCT, T_PRODUCT_NAME, T_CO_CHANNEL, T_TYPE, CO_ENTERPRISE, CO_CHANNEL;&lt;BR /&gt;&lt;I&gt;Load&lt;/I&gt; VRENG_FAC.fact_num,&lt;BR /&gt; VRENG_FAC.CO_PRO_AUX,&lt;BR /&gt; CO_PRODUCT,&lt;BR /&gt;// APPLYMAP('VPROD_NAME_MAP',CO_PRODUCT,) AS T_PRODUCT_NAME,&lt;BR /&gt;// APPLYMAP('VPROD_CAT_MAP', CO_PRODUCT) AS T_CO_CATEGORIA,&lt;BR /&gt;// APPLYMAP('VPROD_LIN_MAP', CO_PRODUCT) AS T_CO_LINE_PRODUCT,&lt;BR /&gt;&lt;BR /&gt; VRENG_FAC.CO_CLIENT,&lt;BR /&gt; VRENG_FAC.CLIENT_NAME AS T_CLIENT_NAME,&lt;BR /&gt; &lt;B&gt;APPLYMAP('VCLI_CHAN_MAP',VRENG_FAC.CO_CLIENT) AS CO_CHANNEL&lt;/B&gt;&lt;BR /&gt;// APPLYMAP('VCLI_TYPE_MAP', VRENG_FAC.CO_CLIENT) AS T_TYPE,&lt;BR /&gt;// APPLYMAP('VCLI_EXCSALE_MAP',VRENG_FAC.CO_CLIENT) AS EXCLUDED_SALES&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;RESIDENT VRENG_FAC;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;&lt;B&gt;LEFT JOIN (X) LOAD CHANNEL_CLIENT.NA_CHANEL RESIDENT CHANNEL_CLIENT;&lt;/B&gt;&lt;/I&gt; ??????????????????????????????????&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, so.. I want join the NA_CHANNEL FROM CHANNEL_CLIENT TO X.&lt;/P&gt;&lt;P&gt;The link, it suposse to be the CO_CHANNEL, right??? but it's qualify in X table (&amp;amp; I need it that way because i dont want this table be connected to the rest of my model)&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;Where i specify that in my join??&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;I'm right using it for my problem?&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thxs in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2010 22:19:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-22T22:19:33Z</dc:date>
    <item>
      <title>Join- with qualify fields</title>
      <link>https://community.qlik.com/t5/QlikView/Join-with-qualify-fields/m-p/155087#M716378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;So far i've used a lot of mappings to bring fields from one table to another. At the beginning I only needed to copy one or two fields, but i need more. OJO: all my tables are qualify.&lt;/P&gt;&lt;P&gt;I think the best way is using join, the left one in my case. Isn't it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explaining myself: I've a table X with a client_code. The clients have master table (obviously) named CLIENT and another 2 ones with them type (CLIENT_TYPE) and channel (CLIENT_CHANNEL).&lt;/P&gt;&lt;P&gt;&lt;I&gt;So, I need the name of the type and channel in the X table.&lt;/I&gt; I know u could recommend me to link the tables (i've done already) but this X table i need it separated of the rest of the model.&lt;/P&gt;&lt;P&gt;As I told you before, i'm using mappings, but I'm desperated for another solution 'cause I've too many mappings in all my 25 tables.&lt;/P&gt;&lt;P&gt;So, I've tried with JOIN, and I'm not use at all to use them, I'm kind of confuse, Let me show you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;//////////////////////// CHANNEL CLIENT&lt;BR /&gt;CHANNEL_CLIENT:&lt;BR /&gt;QUALIFY *;&lt;BR /&gt;UNQUALIFY CO_CHANNEL;&lt;BR /&gt;Load CO_CHANEL AS CO_CHANNEL,&lt;BR /&gt; &lt;B&gt;NA_CHANEL&lt;/B&gt;&lt;BR /&gt;FROM QvD\CHANNEL_CLIENT.QVD (qvd);&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;//******************* PARA LA GESTION DE LA FACTURACIÓN ********************//&lt;BR /&gt;&lt;B&gt;X:&lt;/B&gt;&lt;BR /&gt;QUALIFY *;&lt;BR /&gt;UNQUALIFY TT_Mes_Emis, TT_Anno_Emis, T_Quarter, T_VEN_DES, T_CLIENT_NAME, T_CO_CATEGORIA, T_CO_LINE_PRODUCT, T_PRODUCT_NAME, T_CO_CHANNEL, T_TYPE, CO_ENTERPRISE, CO_CHANNEL;&lt;BR /&gt;&lt;I&gt;Load&lt;/I&gt; VRENG_FAC.fact_num,&lt;BR /&gt; VRENG_FAC.CO_PRO_AUX,&lt;BR /&gt; CO_PRODUCT,&lt;BR /&gt;// APPLYMAP('VPROD_NAME_MAP',CO_PRODUCT,) AS T_PRODUCT_NAME,&lt;BR /&gt;// APPLYMAP('VPROD_CAT_MAP', CO_PRODUCT) AS T_CO_CATEGORIA,&lt;BR /&gt;// APPLYMAP('VPROD_LIN_MAP', CO_PRODUCT) AS T_CO_LINE_PRODUCT,&lt;BR /&gt;&lt;BR /&gt; VRENG_FAC.CO_CLIENT,&lt;BR /&gt; VRENG_FAC.CLIENT_NAME AS T_CLIENT_NAME,&lt;BR /&gt; &lt;B&gt;APPLYMAP('VCLI_CHAN_MAP',VRENG_FAC.CO_CLIENT) AS CO_CHANNEL&lt;/B&gt;&lt;BR /&gt;// APPLYMAP('VCLI_TYPE_MAP', VRENG_FAC.CO_CLIENT) AS T_TYPE,&lt;BR /&gt;// APPLYMAP('VCLI_EXCSALE_MAP',VRENG_FAC.CO_CLIENT) AS EXCLUDED_SALES&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;RESIDENT VRENG_FAC;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;&lt;B&gt;LEFT JOIN (X) LOAD CHANNEL_CLIENT.NA_CHANEL RESIDENT CHANNEL_CLIENT;&lt;/B&gt;&lt;/I&gt; ??????????????????????????????????&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, so.. I want join the NA_CHANNEL FROM CHANNEL_CLIENT TO X.&lt;/P&gt;&lt;P&gt;The link, it suposse to be the CO_CHANNEL, right??? but it's qualify in X table (&amp;amp; I need it that way because i dont want this table be connected to the rest of my model)&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;Where i specify that in my join??&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;I&gt;I'm right using it for my problem?&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thxs in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 22:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-with-qualify-fields/m-p/155087#M716378</guid>
      <dc:creator />
      <dc:date>2010-02-22T22:19:33Z</dc:date>
    </item>
  </channel>
</rss>

