<?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: Joining tables in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Joining-tables/m-p/1799147#M8780</link>
    <description>&lt;P&gt;I would use the&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/ApplyMap.htm" target="_self"&gt;ApplyMap&lt;/A&gt;&amp;nbsp; function.&lt;/P&gt;&lt;P&gt;mapTable2:&lt;/P&gt;&lt;P&gt;mapping&lt;/P&gt;&lt;P&gt;load City&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,Price&lt;/P&gt;&lt;P&gt;From Table2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;load Departure&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,Stop1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,ApplyMap('mapTable2',Stop1,'') as Price1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,Stop2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,ApplyMap('mapTable2',Stop2,'') as Price2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,Stop3&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ,ApplyMap('mapTable2',Stop3,'') as Price3&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ,[Destination City]&lt;/P&gt;&lt;P&gt;From Table1;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 15:01:18 GMT</pubDate>
    <dc:creator>jwjackso</dc:creator>
    <dc:date>2021-04-13T15:01:18Z</dc:date>
    <item>
      <title>Joining tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Joining-tables/m-p/1799062#M8778</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice how can I combine two tables to get the result table below? Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JJaky_0-1618315377299.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52890iA7BCAE864D305FA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JJaky_0-1618315377299.png" alt="JJaky_0-1618315377299.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 12:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Joining-tables/m-p/1799062#M8778</guid>
      <dc:creator>JJaky</dc:creator>
      <dc:date>2021-04-13T12:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Joining-tables/m-p/1799147#M8780</link>
      <description>&lt;P&gt;I would use the&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/ApplyMap.htm" target="_self"&gt;ApplyMap&lt;/A&gt;&amp;nbsp; function.&lt;/P&gt;&lt;P&gt;mapTable2:&lt;/P&gt;&lt;P&gt;mapping&lt;/P&gt;&lt;P&gt;load City&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,Price&lt;/P&gt;&lt;P&gt;From Table2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;load Departure&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,Stop1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,ApplyMap('mapTable2',Stop1,'') as Price1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,Stop2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,ApplyMap('mapTable2',Stop2,'') as Price2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;,Stop3&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ,ApplyMap('mapTable2',Stop3,'') as Price3&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ,[Destination City]&lt;/P&gt;&lt;P&gt;From Table1;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 15:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Joining-tables/m-p/1799147#M8780</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2021-04-13T15:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Joining-tables/m-p/1799148#M8781</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5930"&gt;@jwjackso&lt;/a&gt;&amp;nbsp;, I tried mapping load, but it doesnt show the correct values. Another thing is that I was trying also to join geographical coordinates, and I got empty fields after joining.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 15:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Joining-tables/m-p/1799148#M8781</guid>
      <dc:creator>JJaky</dc:creator>
      <dc:date>2021-04-13T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Joining-tables/m-p/1800555#M8805</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;JJaky,&lt;/SPAN&gt;&lt;BR /&gt;I tried&amp;nbsp;&lt;SPAN class=""&gt;Jwjackso&amp;nbsp;&lt;/SPAN&gt;solution and it works perfectly,&lt;BR /&gt;&lt;SPAN&gt;My script with &lt;SPAN class=""&gt;Jwjackso&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;BR /&gt;Departure, Stop1, Stop2, Stop3, Destination City&lt;BR /&gt;City A, C, B, '', City B&lt;BR /&gt;City A, C, '', '', City C&lt;BR /&gt;City B, A, D, '', City D&lt;BR /&gt;City B, A, C, K, K&lt;BR /&gt;];&lt;BR /&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;BR /&gt;City, Price&lt;BR /&gt;A, 20&lt;BR /&gt;B, 15&lt;BR /&gt;C, 5&lt;BR /&gt;D, 10&lt;BR /&gt;K, 7&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;mapTable2:&lt;/P&gt;&lt;P&gt;mapping&lt;/P&gt;&lt;P&gt;load&lt;BR /&gt;City,&lt;BR /&gt;Price&lt;BR /&gt;Resident Table2;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;load&lt;BR /&gt;Departure,&lt;BR /&gt;Stop1,&lt;BR /&gt;ApplyMap('mapTable2',Stop1,'') as Price1,&lt;BR /&gt;Stop2,&lt;BR /&gt;ApplyMap('mapTable2',Stop2,'') as Price2,&lt;BR /&gt;Stop3,&lt;BR /&gt;ApplyMap('mapTable2',Stop3,'') as Price3,&lt;BR /&gt;[Destination City]&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;BR /&gt;Drop Tables Table1,Table2;&lt;BR /&gt;&lt;BR /&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shayd_0-1618845355508.png" style="width: 698px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53220i7951DC2F41C36283/image-dimensions/698x75?v=v2" width="698" height="75" role="button" title="shayd_0-1618845355508.png" alt="shayd_0-1618845355508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Give it another try maybe.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 15:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Joining-tables/m-p/1800555#M8805</guid>
      <dc:creator>shayd</dc:creator>
      <dc:date>2021-04-19T15:19:28Z</dc:date>
    </item>
  </channel>
</rss>

