<?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: How to link two tables? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021249#M345495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Split the TimeDep and TimeArr fields in separate date and time fields and give the new time fields the same names as in the flightplan table. That will create a synthetic key, which shouldn't be a problem, but if you want you can replace that with a key made from the three fields flightno, deptime and arrtime. Then drop those three fields from the table flights table so that table is linked with the flightplan table using only the new key field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Mar 2016 11:39:03 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-03-18T11:39:03Z</dc:date>
    <item>
      <title>How to link two tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021246#M345492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a two tables which I would like to link. One table holds flights from a flight plan. The other table holds the performed flights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Flightplan&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118524_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Table Flights&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/118525_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;In the flight plan table I can have multiple records for the same flight no, in case the times differ from one day to the other. How can I best link the flight record of that particular day (i.e. 8.3. was a Tuesday = Weekday 2) and hide the other two records for flight no 1081 for Friday and Saturday?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I load the flight plan 7 times with a day field and then create combined key? I'm a bit reluctant to multiply the table x 7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 10:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021246#M345492</guid>
      <dc:creator />
      <dc:date>2016-03-18T10:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to link two tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021247#M345493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz share the sample data and explain your problem in detail...&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 11:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021247#M345493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-18T11:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to link two tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021248#M345494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From your sample, it looks, FlightNo is the common field through which you can link....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FlightPlan:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;FlightNo&lt;/P&gt;&lt;P&gt;From FlightPlan;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flight:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;FlightNo&lt;/P&gt;&lt;P&gt;From Flight;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can rename if FlightNo is with differtent name in FlightPlan, like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FlightNumber as FlightNo&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 11:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021248#M345494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-18T11:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to link two tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021249#M345495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Split the TimeDep and TimeArr fields in separate date and time fields and give the new time fields the same names as in the flightplan table. That will create a synthetic key, which shouldn't be a problem, but if you want you can replace that with a key made from the three fields flightno, deptime and arrtime. Then drop those three fields from the table flights table so that table is linked with the flightplan table using only the new key field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 11:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021249#M345495</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-18T11:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to link two tables?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021250#M345496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Link with FlightNo field it will work ....you will get exact result &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 11:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-link-two-tables/m-p/1021250#M345496</guid>
      <dc:creator />
      <dc:date>2016-03-18T11:40:39Z</dc:date>
    </item>
  </channel>
</rss>

