<?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 Filtering disjoint tables based on common field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-disjoint-tables-based-on-common-field/m-p/774776#M471953</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 scenario in which there are 2 tables that share a lot of common fields. &lt;STRONG&gt;They do not share a common name but their values are same. Eg. Tab1_Col and Tab2_Col are 2 columns that have same values in them.&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables are at different granularity and we cannot join them directly. So the two tables are distinct and separate and dis-joined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 bar charts(&lt;STRONG&gt;Chart1 and Chart2)&lt;/STRONG&gt; that show values from the 2 tables separately. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have a list with values from Tab1_Col. If I choose values from this list then the Chart1 is filtered and Chart2 is unaltered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question: is there a way to filter Chart2 also based on selection of Tab1_Col ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 08:13:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-10T08:13:39Z</dc:date>
    <item>
      <title>Filtering disjoint tables based on common field</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-disjoint-tables-based-on-common-field/m-p/774776#M471953</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 scenario in which there are 2 tables that share a lot of common fields. &lt;STRONG&gt;They do not share a common name but their values are same. Eg. Tab1_Col and Tab2_Col are 2 columns that have same values in them.&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables are at different granularity and we cannot join them directly. So the two tables are distinct and separate and dis-joined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 2 bar charts(&lt;STRONG&gt;Chart1 and Chart2)&lt;/STRONG&gt; that show values from the 2 tables separately. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have a list with values from Tab1_Col. If I choose values from this list then the Chart1 is filtered and Chart2 is unaltered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question: is there a way to filter Chart2 also based on selection of Tab1_Col ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 08:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-disjoint-tables-based-on-common-field/m-p/774776#M471953</guid>
      <dc:creator />
      <dc:date>2015-02-10T08:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering disjoint tables based on common field</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-disjoint-tables-based-on-common-field/m-p/774777#M471954</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;You can do this, but probably should not. I think that you need to design your data model to better suit the way Qlikview works. You have two options that come to mind. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option1&lt;/STRONG&gt; - concatenate the tables and alias the comparable names to the same name. Also add a Source field to differentiate between the tables. This is what I would try first if the majority of the fields "mean the same thing"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CombinedData:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD Col&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Tab1' As Source&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM Tab1....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concatenate(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;CombinedData)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD Col&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Tab2' As Source&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM Tab2....&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For the 2 charts, use the Source field in a set expression - eg Sum({&amp;lt;Source={'Tab1'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Now if you make selections for Col, the filter will apply to both charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option2 -&lt;/STRONG&gt; create a link table containing the common fields. This is an option if there are many fields that are not common. There are many posts in the community on link tables. The link table will contain all the fields from both tables that have a common meaning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 08:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-disjoint-tables-based-on-common-field/m-p/774777#M471954</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-10T08:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering disjoint tables based on common field</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-disjoint-tables-based-on-common-field/m-p/774778#M471955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, But is there a way to do this at the report level? Maybe create an expression to filter based on selection? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 08:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-disjoint-tables-based-on-common-field/m-p/774778#M471955</guid>
      <dc:creator />
      <dc:date>2015-02-10T08:33:25Z</dc:date>
    </item>
  </channel>
</rss>

