<?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 How to join using different fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-join-using-different-fields/m-p/166492#M38423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do something as below in QlikView using 2 resident tables. Both tables are loaded from different data sources so I could not make the join at DB level.&lt;/P&gt;&lt;P&gt;TEAM_DATA table has entire team hierarchy and ENTITLEMENTS table has permissioning defined at different team levels.&lt;/P&gt;&lt;P&gt;Can someone please point me in right direction to code something like this... I am planning to load 6 seperate tables (6 joins one for each team level) and then combine them all together... would really appreciate if someone can provide better idea..&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;&amp;lt;pseudo code&amp;gt;&lt;/P&gt;&lt;P&gt;[TEAM_ENTITLEMENT_LINK]:&lt;BR /&gt;load&lt;BR /&gt; distinct&lt;BR /&gt; [ENTITLEMENTS].TEAM_LINK,&lt;BR /&gt; [TEAM_DATA].TEAM_LEVEL_1_ID&lt;BR /&gt;resident&lt;BR /&gt; [ENTITLEMENTS],[TEAM_DATA]&lt;BR /&gt;where&lt;BR /&gt; [ENTITLEMENTS].TEAM_LINK IS NOT NULL&lt;BR /&gt; and&lt;BR /&gt; (&lt;BR /&gt; [TEAM_DATA].TEAM_LEVEL_6_ID = [ENTITLEMENTS].TEAM_LEVEL_6_ID&lt;BR /&gt; OR [TEAM_DATA].TEAM_LEVEL_5_ID = [ENTITLEMENTS].TEAM_LEVEL_5_ID&lt;BR /&gt; OR [TEAM_DATA].TEAM_LEVEL_4_ID = [ENTITLEMENTS].TEAM_LEVEL_4_ID&lt;BR /&gt; OR [TEAM_DATA].TEAM_LEVEL_3_ID = [ENTITLEMENTS].TEAM_LEVEL_3_ID&lt;BR /&gt; OR [TEAM_DATA].TEAM_LEVEL_2_ID = [ENTITLEMENTS].TEAM_LEVEL_2_ID&lt;BR /&gt; OR [TEAM_DATA].TEAM_LEVEL_1_ID = [ENTITLEMENTS].TEAM_LEVEL_1_ID&lt;BR /&gt; );&lt;/P&gt;&lt;P&gt;&amp;lt;/pseudo code&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jan 2011 17:51:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-12T17:51:49Z</dc:date>
    <item>
      <title>How to join using different fields</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-join-using-different-fields/m-p/166492#M38423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do something as below in QlikView using 2 resident tables. Both tables are loaded from different data sources so I could not make the join at DB level.&lt;/P&gt;&lt;P&gt;TEAM_DATA table has entire team hierarchy and ENTITLEMENTS table has permissioning defined at different team levels.&lt;/P&gt;&lt;P&gt;Can someone please point me in right direction to code something like this... I am planning to load 6 seperate tables (6 joins one for each team level) and then combine them all together... would really appreciate if someone can provide better idea..&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;&amp;lt;pseudo code&amp;gt;&lt;/P&gt;&lt;P&gt;[TEAM_ENTITLEMENT_LINK]:&lt;BR /&gt;load&lt;BR /&gt; distinct&lt;BR /&gt; [ENTITLEMENTS].TEAM_LINK,&lt;BR /&gt; [TEAM_DATA].TEAM_LEVEL_1_ID&lt;BR /&gt;resident&lt;BR /&gt; [ENTITLEMENTS],[TEAM_DATA]&lt;BR /&gt;where&lt;BR /&gt; [ENTITLEMENTS].TEAM_LINK IS NOT NULL&lt;BR /&gt; and&lt;BR /&gt; (&lt;BR /&gt; [TEAM_DATA].TEAM_LEVEL_6_ID = [ENTITLEMENTS].TEAM_LEVEL_6_ID&lt;BR /&gt; OR [TEAM_DATA].TEAM_LEVEL_5_ID = [ENTITLEMENTS].TEAM_LEVEL_5_ID&lt;BR /&gt; OR [TEAM_DATA].TEAM_LEVEL_4_ID = [ENTITLEMENTS].TEAM_LEVEL_4_ID&lt;BR /&gt; OR [TEAM_DATA].TEAM_LEVEL_3_ID = [ENTITLEMENTS].TEAM_LEVEL_3_ID&lt;BR /&gt; OR [TEAM_DATA].TEAM_LEVEL_2_ID = [ENTITLEMENTS].TEAM_LEVEL_2_ID&lt;BR /&gt; OR [TEAM_DATA].TEAM_LEVEL_1_ID = [ENTITLEMENTS].TEAM_LEVEL_1_ID&lt;BR /&gt; );&lt;/P&gt;&lt;P&gt;&amp;lt;/pseudo code&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 17:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-join-using-different-fields/m-p/166492#M38423</guid>
      <dc:creator />
      <dc:date>2011-01-12T17:51:49Z</dc:date>
    </item>
  </channel>
</rss>

