<?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: Creating key using column from two tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1550794#M39701</link>
    <description>have to do the join in a temp table, then add key with a load * RESIDENT temp_table and drop the temp table afterwards</description>
    <pubDate>Thu, 28 Feb 2019 21:45:11 GMT</pubDate>
    <dc:creator>dwforest</dc:creator>
    <dc:date>2019-02-28T21:45:11Z</dc:date>
    <item>
      <title>Creating key using column from two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1550666#M39689</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Referral:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;referralnum as "Referral Number",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;acctno &amp;amp; '-' &amp;amp; patno &amp;amp; '-' &amp;amp; Ordering Provider Code as "Patient Key"&lt;/STRONG&gt;, &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;order_date,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;req_visits,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;external_refnum,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;status as "Referral Status",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"type" as "Referral Type",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;refer_from as "Ordering Provider Code",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;refer_from_id,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;refer_to as "Referred Provider Code", bla bla&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join (Referral)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;rfocode as "Ordering Provider Code",&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;rfoname as "Ordering Provider Name",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;specialtyno as "Ordering provider Specialty",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;speccode as "Ordering Provider Specialty code",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;firstname as "Ordering Provider Firstname",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;lastname as "Ordering Provider Lastname", bla bla&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Above is my code. i am trying to produce a "charge key" in table 1 using the column highlighted after left join in table 2.&lt;/P&gt;&lt;P&gt;I know the concept of load but being new to Qlik I donno where to put it and how exactly to implement it. Can someone please help me with syntax ad two lines of explanations for thorough knowledge?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 20:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1550666#M39689</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-02-28T20:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating key using column from two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1550718#M39693</link>
      <description>You will need one (or many) field that relates both tables, in example, if table 2 has also the 'referralnum' field you can join or use a map with that field, ie:&lt;BR /&gt;mapProviderCode:&lt;BR /&gt;Mapping LOAD referralnum, "Ordering Provider Code" FROM/Resident ....;&lt;BR /&gt;&lt;BR /&gt;Referral:&lt;BR /&gt;LOAD&lt;BR /&gt;referralnum as "Referral Number",&lt;BR /&gt;acctno &amp;amp; '-' &amp;amp; patno as "Patient Key",&lt;BR /&gt;acctno &amp;amp; '-' &amp;amp; patno &amp;amp; '-' &amp;amp; ApplyMap('mapProviderCode', referralnum) as "Charge Key",</description>
      <pubDate>Thu, 28 Feb 2019 19:01:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1550718#M39693</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-02-28T19:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating key using column from two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1550764#M39699</link>
      <description>&lt;P&gt;I dont wish to have a left join here. My question is how can I produce a key with "Ordering Provider Code" being in second table which gets added after left join.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 20:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1550764#M39699</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-02-28T20:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating key using column from two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1550794#M39701</link>
      <description>have to do the join in a temp table, then add key with a load * RESIDENT temp_table and drop the temp table afterwards</description>
      <pubDate>Thu, 28 Feb 2019 21:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1550794#M39701</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2019-02-28T21:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating key using column from two tables</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1551908#M39785</link>
      <description>&lt;P&gt;Can you please help me with script? I am new to Qlik. I am having a hard time to understand where should I insert the temp table?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 15:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-key-using-column-from-two-tables/m-p/1551908#M39785</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-03-04T15:59:26Z</dc:date>
    </item>
  </channel>
</rss>

