<?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 options to exclude values not in the table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1559068#M742360</link>
    <description>Hi,&lt;BR /&gt;So field C list box/search shows all values in field C in any table it appears in (that is what QlikView does). So in script here I am creating a copy of field C in table A, use that in the list box/search object and it will only show values on C in table A.&lt;BR /&gt;You would do the same for table B, calling the field something different.&lt;BR /&gt;Cheers,&lt;BR /&gt;Chris.</description>
    <pubDate>Wed, 20 Mar 2019 14:21:42 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2019-03-20T14:21:42Z</dc:date>
    <item>
      <title>Filter options to exclude values not in the table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1558590#M742350</link>
      <description>&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;I have loaded two tables into QlikView (ex. Table A, Table B). These two tables are linked on a field (ex. Field C). Table A has several values in Field C and some of them match up to those values in Table B. However, Table B has some values in Field C that are different than those in Table A, and vice versa.&lt;/P&gt;&lt;P&gt;I have two sheets, Sheet 1 with information from table A and Sheet 2 with information from table B. Each sheet has a filter for Field C. On sheet 1 I want the filter (search box object) to only have values that are present in table A, and on sheet 2 I want the filter to only have values that are present in table B. Yet, I want to keep these fields linked together in the data model because some of the info in Field C is the same, and in that case I want to be able to carry that selection over between sheet 1 and sheet 2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this? It seems like set analysis may be useful, but I haven't figured out how to accomplish this yet.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1558590#M742350</guid>
      <dc:creator>gusbus14</dc:creator>
      <dc:date>2024-11-16T04:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter options to exclude values not in the table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1558621#M742352</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try using a function in the list box, so;&lt;/P&gt;&lt;P&gt;=If(Not(IsNull(A)),C,Null())&lt;/P&gt;&lt;P&gt;Gives;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190319_1.png" style="width: 747px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8409i651C42FE74C73F36/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190319_1.png" alt="20190319_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And it still functions as a filter;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190319_2.png" style="width: 740px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8410i571EF77DC5559F6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190319_2.png" alt="20190319_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 19:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1558621#M742352</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-03-19T19:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filter options to exclude values not in the table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1558625#M742353</link>
      <description>Thanks Chris! This is useful, however I was hoping for a way to do this with a search object. Specifically because I like the drop down ability and the field that is being filtered in this case has about 20,000 values so I would want that drop down and easy ability to type something in and have the related values filter down in the drop down list.</description>
      <pubDate>Tue, 19 Mar 2019 19:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1558625#M742353</guid>
      <dc:creator>gusbus14</dc:creator>
      <dc:date>2019-03-19T19:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filter options to exclude values not in the table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1558632#M742356</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I see. I think you would need to create a copy of your key field with a different name in each table, then use that, so just for table A (in my toy application);&lt;/P&gt;&lt;PRE&gt;TableA:
LOAD
	*,
	C AS [C for A];
LOAD * INLINE [
    A, C
    X, 1
    Y, 2
    Z, 3
];&lt;/PRE&gt;&lt;P&gt;Then the search object is limited;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190319_3.png" style="width: 241px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/8412i3D8AFA79601F421F/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190319_3.png" alt="20190319_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But it still selects across the model (as associates through C). Any better?&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 20:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1558632#M742356</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-03-19T20:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Filter options to exclude values not in the table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1559047#M742358</link>
      <description>&lt;P&gt;Chris - this looks like what I am trying to accomplish, I'm just not exactly sure I follow what is going on here. Could you elaborate at all?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 13:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1559047#M742358</guid>
      <dc:creator>gusbus14</dc:creator>
      <dc:date>2019-03-20T13:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filter options to exclude values not in the table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1559068#M742360</link>
      <description>Hi,&lt;BR /&gt;So field C list box/search shows all values in field C in any table it appears in (that is what QlikView does). So in script here I am creating a copy of field C in table A, use that in the list box/search object and it will only show values on C in table A.&lt;BR /&gt;You would do the same for table B, calling the field something different.&lt;BR /&gt;Cheers,&lt;BR /&gt;Chris.</description>
      <pubDate>Wed, 20 Mar 2019 14:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1559068#M742360</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-03-20T14:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filter options to exclude values not in the table</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1559073#M742362</link>
      <description>&lt;P&gt;Chris -&lt;/P&gt;&lt;P&gt;I did end up doing this in the data model. However, I just used the set expression from the list box to create a new column in both table A and table B. The selection still carries over because the tables are connected on Field C which is used in the tables. Now each table has it's own field (Field C_TableA and Field C_TableB) so that those can be used as the filters.&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 14:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-options-to-exclude-values-not-in-the-table/m-p/1559073#M742362</guid>
      <dc:creator>gusbus14</dc:creator>
      <dc:date>2019-03-20T14:26:35Z</dc:date>
    </item>
  </channel>
</rss>

