<?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: Selecting fields in one table based on selected fields from another table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731389#M261948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand the problem&amp;nbsp; correctly, you just have to make sure both tables have the same fieldname for the route code and QV will link them automaticaly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;LinesToPick2:&lt;/P&gt;&lt;P&gt;LOAD lines_ROUTE as ROUTE, *&lt;/P&gt;&lt;P&gt;Resident LinesToPick;&lt;/P&gt;&lt;P&gt;drop field lines_ROUTE;&lt;/P&gt;&lt;P&gt;drop table LinesToPick;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;RouteMaster2:&lt;/P&gt;&lt;P&gt;LOAD rm_ROUTE as ROUTE, *&lt;/P&gt;&lt;P&gt;Resident RouteMaster;&lt;/P&gt;&lt;P&gt;drop field rm_ROUTE;&lt;/P&gt;&lt;P&gt;drop table RouteMaster;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because both tables now have a field named ROUTE, they will be linked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2014 19:22:06 GMT</pubDate>
    <dc:creator>mark_casselman</dc:creator>
    <dc:date>2014-10-01T19:22:06Z</dc:date>
    <item>
      <title>Selecting fields in one table based on selected fields from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731386#M261945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question that seems fairly straightforward but is giving me a headache.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two straight tables in my Qlikview dashboard with dimension fields that I would like to link together. Each dimension comes from a different data source, but they share many of the same values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an easy way to link these dimensions together? I would like to be able to select an individual/range of values from one table and have that same individual/range be selected in the other table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried linking these two tables together by using a join statement in the script, but that did not seem to work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two tables I am trying to link are in the screenshot below. The dimension is labeled 'Route'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="link_tables.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/68036_link_tables.png" style="width: 620px; height: 353px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 20:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731386#M261945</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-30T20:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting fields in one table based on selected fields from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731387#M261946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like a data modelling issue that is similar to when you have multiple dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could add a link table with values from both.&amp;nbsp; You would use Route1 and Route2 in the respective charts, but use 'Route' as a list box to select a route that you want to filter both tables on 1 or more route values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this enough to help ?&amp;nbsp;&amp;nbsp; ps: it doesn't take into account how these tables are joined currently in your model which is important. You may need to post your table view diagram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataSource1:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Route as Route1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Route&lt;/P&gt;&lt;P&gt;from &amp;lt;DataSource1&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataSource2:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Route as Route2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Route&lt;/P&gt;&lt;P&gt;from &amp;lt;DataSource2&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LinkTable:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Route&lt;/P&gt;&lt;P&gt;resident DataSource1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate (LinkTable)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Route&lt;/P&gt;&lt;P&gt;resident DataSource2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 20:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731387#M261946</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-30T20:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting fields in one table based on selected fields from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731388#M261947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip Jonathan, I think that will be a good start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the table view diagram for these two tables. LinesToPick is the data source for the first table and RouteMaster is the data source for the second table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, these two table are not joined. lines_ROUTE and rm_ROUTE are the two fields I would like to match together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="link_tables_data_source.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/68095_link_tables_data_source.png" style="width: 620px; height: 407px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 18:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731388#M261947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-01T18:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting fields in one table based on selected fields from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731389#M261948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand the problem&amp;nbsp; correctly, you just have to make sure both tables have the same fieldname for the route code and QV will link them automaticaly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;LinesToPick2:&lt;/P&gt;&lt;P&gt;LOAD lines_ROUTE as ROUTE, *&lt;/P&gt;&lt;P&gt;Resident LinesToPick;&lt;/P&gt;&lt;P&gt;drop field lines_ROUTE;&lt;/P&gt;&lt;P&gt;drop table LinesToPick;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;RouteMaster2:&lt;/P&gt;&lt;P&gt;LOAD rm_ROUTE as ROUTE, *&lt;/P&gt;&lt;P&gt;Resident RouteMaster;&lt;/P&gt;&lt;P&gt;drop field rm_ROUTE;&lt;/P&gt;&lt;P&gt;drop table RouteMaster;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because both tables now have a field named ROUTE, they will be linked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 19:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731389#M261948</guid>
      <dc:creator>mark_casselman</dc:creator>
      <dc:date>2014-10-01T19:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting fields in one table based on selected fields from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731390#M261949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark-- that appears to do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will mess around with it a bit more to confirm all of the data are correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 21:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selecting-fields-in-one-table-based-on-selected-fields-from/m-p/731390#M261949</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-01T21:33:52Z</dc:date>
    </item>
  </channel>
</rss>

