<?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: Select all values from a filter pane not in a list via button in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424115#M95965</link>
    <description>&lt;P&gt;In fact swap the Null and LANDISOCODE around if using not match in this way.&lt;/P&gt;
&lt;PRE&gt;If(Not Match(LANDISOCODE, 'DEU', 'DEP', 'DE-', 'DE_'), Null(), LANDISOCODE)&lt;/PRE&gt;</description>
    <pubDate>Tue, 27 Feb 2024 13:40:56 GMT</pubDate>
    <dc:creator>Brian_C</dc:creator>
    <dc:date>2024-02-27T13:40:56Z</dc:date>
    <item>
      <title>Select all values from a filter pane not in a list via button</title>
      <link>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424110#M95962</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;i have a filter pane with "LANDISOCODE" and want to select all entries except some in a list when i press a button.&lt;/P&gt;
&lt;P&gt;List list is ~180 entries long and i want to exclude 4 entries.&lt;/P&gt;
&lt;P&gt;I tried a button with action "Select values matching search criteria" and&amp;nbsp;different versions of a function like&lt;/P&gt;
&lt;PRE&gt;If(Match(LANDISOCODE, 'DEU', 'DEP', 'DE-', 'DE_'), Null(), LANDISOCODE)&lt;BR /&gt;&lt;BR /&gt;='=(If(Match(LANDISOCODE, "DEU", "DEP", "DE-", "DE_"), Null(), LANDISOCODE))'&lt;/PRE&gt;
&lt;P&gt;but none is working.&lt;/P&gt;
&lt;P&gt;How can i do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 13:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424110#M95962</guid>
      <dc:creator>eikenberg</dc:creator>
      <dc:date>2024-02-27T13:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values from a filter pane not in a list via button</title>
      <link>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424112#M95963</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;In Qlik Sense, achieving a selection of all values from a filter pane excluding a specific list of values through a button action can be a bit tricky because of the way Qlik interprets set analysis and search criteria in actions. Unfortunately, directly using an &lt;CODE&gt;If&lt;/CODE&gt; statement within a button action to exclude values might not work as expected due to the nature of how search strings are interpreted.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Create a Variable&lt;/STRONG&gt;: First, you need to create a variable that holds the expression for the selection criteria excluding the specific codes. This variable will essentially generate a search string that includes all codes except the ones you want to exclude.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Use the Variable in Button Action&lt;/STRONG&gt;: Then, you can use this variable within your button action to select values matching the generated search criteria.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Sponsored by ChatGPT - This explanation sounds reasonable to me.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 13:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424112#M95963</guid>
      <dc:creator>singulariteetti</dc:creator>
      <dc:date>2024-02-27T13:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values from a filter pane not in a list via button</title>
      <link>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424113#M95964</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Try&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;If(Not Match(LANDISOCODE, 'DEU', 'DEP', 'DE-', 'DE_'), Null(), LANDISOCODE)&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Feb 2024 13:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424113#M95964</guid>
      <dc:creator>Brian_C</dc:creator>
      <dc:date>2024-02-27T13:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values from a filter pane not in a list via button</title>
      <link>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424115#M95965</link>
      <description>&lt;P&gt;In fact swap the Null and LANDISOCODE around if using not match in this way.&lt;/P&gt;
&lt;PRE&gt;If(Not Match(LANDISOCODE, 'DEU', 'DEP', 'DE-', 'DE_'), Null(), LANDISOCODE)&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Feb 2024 13:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424115#M95965</guid>
      <dc:creator>Brian_C</dc:creator>
      <dc:date>2024-02-27T13:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values from a filter pane not in a list via button</title>
      <link>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424117#M95966</link>
      <description>&lt;P&gt;Another solution would be in the script to create a flag by adding the line below:&lt;/P&gt;
&lt;P&gt;If(not Match(LANDISOCODE, 'DEU', 'DEP', 'DE-', 'DE_'),'Y','N')as Include_Flag&lt;/P&gt;
&lt;P&gt;then in the filter use Only(&amp;lt;{ Include_Flag={'Y'}&amp;gt;}LANDISOCODE)&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 13:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424117#M95966</guid>
      <dc:creator>Brian_C</dc:creator>
      <dc:date>2024-02-27T13:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values from a filter pane not in a list via button</title>
      <link>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424138#M95967</link>
      <description>&lt;P&gt;That looks like the cleanest solution, i try it.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 14:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424138#M95967</guid>
      <dc:creator>eikenberg</dc:creator>
      <dc:date>2024-02-27T14:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values from a filter pane not in a list via button</title>
      <link>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424144#M95968</link>
      <description>&lt;P&gt;An easy approach would be to use multiple actions to first select only the values you want to exclude and then inverting the selection:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LRuCelver_0-1709043909551.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160744iEEE60DE317A65F2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LRuCelver_0-1709043909551.png" alt="LRuCelver_0-1709043909551.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LRuCelver_1-1709043926264.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160745i4F9D163A897A57FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LRuCelver_1-1709043926264.png" alt="LRuCelver_1-1709043926264.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LRuCelver_2-1709043963087.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160746iDF0966E91786D10D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LRuCelver_2-1709043963087.png" alt="LRuCelver_2-1709043963087.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LRuCelver_3-1709043986455.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160747iB87F51D86A1698C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LRuCelver_3-1709043986455.png" alt="LRuCelver_3-1709043986455.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 14:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424144#M95968</guid>
      <dc:creator>LRuCelver</dc:creator>
      <dc:date>2024-02-27T14:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values from a filter pane not in a list via button</title>
      <link>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424147#M95969</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;It should be renamed to "Invert selection".&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 14:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424147#M95969</guid>
      <dc:creator>eikenberg</dc:creator>
      <dc:date>2024-02-27T14:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select all values from a filter pane not in a list via button</title>
      <link>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424150#M95970</link>
      <description>&lt;P&gt;There are two options for selecting other values: alternative and excluded values.&lt;/P&gt;
&lt;P&gt;Alternative values are all values that could be selected with the current selections, but are not. They have a light gray background.&lt;/P&gt;
&lt;P&gt;Excluded values are all values that you cant select because some other selection is blocking them. They have a dark gray background.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 14:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Select-all-values-from-a-filter-pane-not-in-a-list-via-button/m-p/2424150#M95970</guid>
      <dc:creator>LRuCelver</dc:creator>
      <dc:date>2024-02-27T14:37:48Z</dc:date>
    </item>
  </channel>
</rss>

