<?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: Issue in linking two tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-in-linking-two-tables/m-p/1942468#M77639</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16248"&gt;@sunitha_chellaiah&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you may need an intersection table to ensure you have all Price Bands for all keys.&lt;/P&gt;
&lt;P&gt;On both of the tables you are joining, create the key as you are presently doing, but do not load the STORE, Product or Price Band fields - only have the key.&lt;/P&gt;
&lt;P&gt;Then load an intersection table with just those fields concatenated from both tables:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Intersection:&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;LOAD&lt;BR /&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Trim(Replace("STORE",'Showroom','')) &amp;amp; PRODUCT &amp;amp; PRICE_BAND AS Stock_Key,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;Trim(Replace("STORE",'Showroom','')) as STORE,&lt;BR /&gt;&amp;nbsp; PRODUCT,&lt;BR /&gt;&amp;nbsp; PRICE_BAND&lt;BR /&gt;FROM ... your DIN table ...;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CONCATENATE(Intersection)&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;Trim(Replace("STORE",'Showroom','')) &amp;amp; PRODUCT &amp;amp; PRICE_BAND AS Stock_Key,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;Trim(Replace("STORE",'Showroom','')) as STORE,&lt;BR /&gt;&amp;nbsp; PRODUCT,&lt;BR /&gt;&amp;nbsp; PRICE_BAND&lt;BR /&gt;FROM ... your STK table ...;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;There may be other fields that should reside in the intersection table also, that do not have to be part of the key.&lt;/P&gt;
&lt;P&gt;Hope that makes sense?&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 11 Jun 2022 20:31:58 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2022-06-11T20:31:58Z</dc:date>
    <item>
      <title>Issue in linking two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-linking-two-tables/m-p/1942177#M77609</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am linking two tables based on key&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trim(Replace("STORE",'Showroom','')) &amp;amp; PRODUCT &amp;amp; PRICE_BAND AS Stock_Key,&lt;/P&gt;
&lt;P&gt;But some of the price bands are missing in one of the table. Due to which that pricebands are not coming in the value.&lt;/P&gt;
&lt;P&gt;In screenshot, I want same price bands to be shown in both the columns (PRICEBAND_DIN &amp;amp; PRICE_BAND_STK_D).&lt;/P&gt;
&lt;P&gt;How to get already the records.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sunitha_chellaiah_0-1654863554835.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/81486i001AC86234E53755/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sunitha_chellaiah_0-1654863554835.png" alt="sunitha_chellaiah_0-1654863554835.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 12:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-linking-two-tables/m-p/1942177#M77609</guid>
      <dc:creator>sunitha_chellaiah</dc:creator>
      <dc:date>2022-06-10T12:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in linking two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-linking-two-tables/m-p/1942468#M77639</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16248"&gt;@sunitha_chellaiah&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you may need an intersection table to ensure you have all Price Bands for all keys.&lt;/P&gt;
&lt;P&gt;On both of the tables you are joining, create the key as you are presently doing, but do not load the STORE, Product or Price Band fields - only have the key.&lt;/P&gt;
&lt;P&gt;Then load an intersection table with just those fields concatenated from both tables:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Intersection:&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;LOAD&lt;BR /&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Trim(Replace("STORE",'Showroom','')) &amp;amp; PRODUCT &amp;amp; PRICE_BAND AS Stock_Key,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;Trim(Replace("STORE",'Showroom','')) as STORE,&lt;BR /&gt;&amp;nbsp; PRODUCT,&lt;BR /&gt;&amp;nbsp; PRICE_BAND&lt;BR /&gt;FROM ... your DIN table ...;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CONCATENATE(Intersection)&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;Trim(Replace("STORE",'Showroom','')) &amp;amp; PRODUCT &amp;amp; PRICE_BAND AS Stock_Key,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;Trim(Replace("STORE",'Showroom','')) as STORE,&lt;BR /&gt;&amp;nbsp; PRODUCT,&lt;BR /&gt;&amp;nbsp; PRICE_BAND&lt;BR /&gt;FROM ... your STK table ...;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;There may be other fields that should reside in the intersection table also, that do not have to be part of the key.&lt;/P&gt;
&lt;P&gt;Hope that makes sense?&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2022 20:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-linking-two-tables/m-p/1942468#M77639</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2022-06-11T20:31:58Z</dc:date>
    </item>
  </channel>
</rss>

