<?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: Filter table based on other Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855254#M658664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramon, I responded to Pettor below with my database. BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2015 20:07:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-13T20:07:59Z</dc:date>
    <item>
      <title>Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855248#M658658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="149" style="border: 1px solid rgb(0, 0, 0); width: 538px; height: 115px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style="color: #ffffff; font-size: 13.3333330154419px; text-align: center;"&gt;Date2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/02/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;03/03/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;04/04/2014&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="149" style="border: 1px solid rgb(0, 0, 0); width: 553px; height: 99px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Activity&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date1&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/02/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/03/2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20/02/2015&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableConsolidated:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;From&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Table1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ID1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/02/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Table1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ID2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;03/03/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Table1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ID2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;04/04/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Table1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/02/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Table2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/03/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Table2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20/02/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Table2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi, i am working on a report like the example above, where i have two tables in different formats which consolidated in tableConsolidated. Now i want to filter the TableConsolidated based on the fields from Table2, using the fields Type, Activity or any other field from this table. I Assume that since i link the 2 tables based on the field ID i could do this, but when i try to filter the field 'Type' selecting 'A', the TableConsolidated shows the result below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;D&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;From&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Table1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ID1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/02/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Table1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/02/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Table2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/03/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Table2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i expect was only the dates that has an "A" in the "'Type" field. What kind of link do i have to do? In my complete table i have more than 20 field from table2 that i wish to filter in TableConsolidated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 18:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855248#M658658</guid>
      <dc:creator />
      <dc:date>2015-05-13T18:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855249#M658659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we would have to see the data in order to be able to provide more details as what might be the issue &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 18:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855249#M658659</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-13T18:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855250#M658660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to do this in a Load Script or in the running application? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 18:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855250#M658660</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-05-13T18:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855251#M658661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Load Scrip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 18:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855251#M658661</guid>
      <dc:creator />
      <dc:date>2015-05-13T18:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855252#M658662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;How do you do your filter now in the load script?&lt;/STRONG&gt; While the load script is running there is no links between any tables. It is when the load script is about to finish that QlikView goes through it's association procedure and establish the resulting data model for the running application and/or the finally saved and reloaded QVW-file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 19:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855252#M658662</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-05-13T19:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855253#M658663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petter, Follow attached part of my report. Table SITES is my Table1, REWORK my Table2 and DATAS my TableConsolidated. I created a filter "ReworkActivity" which is my "Type" from Table2. And [%Key field] is my ID. In The Graph i have two activities that can be filtered in Rework Activity selecting SI or WR. As you can see, if you filter the tables, the graph shows the right result, but if you filter the field "ReworkActivitY", for example "SI", it does not shows only the results for SI in Table2, it shows the result for every ID ([%Key field]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obs. You will not be able to reload because it access an intranet SharePoint.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 20:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855253#M658663</guid>
      <dc:creator />
      <dc:date>2015-05-13T20:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855254#M658664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramon, I responded to Pettor below with my database. BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 20:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855254#M658664</guid>
      <dc:creator />
      <dc:date>2015-05-13T20:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855255#M658665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well if you want the graph to only show activities for ReworkActivity that happens for DATASTypeField = Table 2 without specifically selecting Table 2 in the Tables list box you could simply put in a Set Expression in your Sum() expression in the chart (graph):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If( WildMatch( DATASType , 'Production*' ) , Sum( &lt;STRONG&gt;{ &amp;lt; DATASTypeField = { 'Table 2' } &amp;gt; }&lt;/STRONG&gt; DATASCount ) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then this graph will always just show activities for this specific DATASTypeField...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 20:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855255#M658665</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-05-13T20:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855256#M658666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact i want to select for example "SI" in ReworkActivity from table2, and it filter in table consolidated only the values that has SI atribute. In this case, show only "0.1.8 SI Rework" and exclude "1.1.8 WR Rework" from the graph. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 21:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855256#M658666</guid>
      <dc:creator />
      <dc:date>2015-05-13T21:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855257#M658667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I would go for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;DATASTypeField={'Table 2'},DATASType={'Production*'},StepAtividade={'*SI*'}&amp;gt;} DATASCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry - I am not fully into what you are trying to achieve - but this expression will make the graph only show "0.1.8 SI Rework" ... is this want you want then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 21:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855257#M658667</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-05-13T21:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filter table based on other Table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855258#M658668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I know it is difficult to explain. My aim is that the ReworkActivity (or otherTable2 Column), be able to filter the results in TableConsolidated (Which is Table1 and Table2 Together). The SI was just an example to say if i select 'SI', TableConsolidated should not present 'WR' results. But i need to filter based on any field selected in this listbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 23:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-table-based-on-other-Table/m-p/855258#M658668</guid>
      <dc:creator />
      <dc:date>2015-05-13T23:48:46Z</dc:date>
    </item>
  </channel>
</rss>

