<?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: List Box to include or exclude field data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731215#M452298</link>
    <description>&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;Could you please advise on how to achieve this through a button or any other suggestions.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2020 23:56:39 GMT</pubDate>
    <dc:creator>aarohipatel</dc:creator>
    <dc:date>2020-07-27T23:56:39Z</dc:date>
    <item>
      <title>List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731166#M452290</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to create a list box with expression to include or exclude data value of an field.&lt;/P&gt;&lt;P&gt;Field: ABC_COMP&lt;/P&gt;&lt;P&gt;One of the Data Value is : XYZ_2020&lt;/P&gt;&lt;P&gt;List box should have a value: Exclude_XYZ_2020&amp;nbsp;&lt;SPAN&gt;and when this value is selected in the List box, XYZ_2020 should be excluded from the field ABC_COMP. This way, user should be able to include or exclude XYZ_2020.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have tried:&amp;nbsp;&amp;nbsp;=if(not match(ABC_COMP,'XYZ_2020'),'Exclude_XYZ_2020')&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is working for exclude but when trying to click on it again to include the data, it is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please advise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38138i1BED3D01B1132719/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 20:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731166#M452290</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2020-07-27T20:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731185#M452293</link>
      <description>&lt;P&gt;Is it not worth to explore the functionality of Select excluded values option in listbox? Why to make things complicated?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 21:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731185#M452293</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-27T21:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731215#M452298</link>
      <description>&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;Could you please advise on how to achieve this through a button or any other suggestions.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 23:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731215#M452298</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2020-07-27T23:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731220#M452299</link>
      <description>&lt;P&gt;You can create two buttons , Include &amp;amp; Exclude and setup variable values like below&lt;/P&gt;&lt;P&gt;For Include, set the variable value to 1 &amp;amp; for Exclude set it to 2&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation 2020-07-28 012826.png" style="width: 856px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38148i3C3E0DBC77E9ADEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotation 2020-07-28 012826.png" alt="Annotation 2020-07-28 012826.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you can create expression in listbox from below option&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation 2020-07-28 012752.png" style="width: 610px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38149i5738B3143CE1787E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotation 2020-07-28 012752.png" alt="Annotation 2020-07-28 012752.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use below expression&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;=if(vCheck=1,ABC_COMP,aggr(Only({&amp;lt;ABC_COMP-={'XYZ_2020'}&amp;gt;}ABC_COMP),ABC_COMP))&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Jul 2020 00:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731220#M452299</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-28T00:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731221#M452300</link>
      <description>&lt;P&gt;Kush,&lt;/P&gt;&lt;P&gt;I tried your suggestion. Buttons are not working for me. Could you please provide an sample qvw?&lt;/P&gt;&lt;P&gt;Also, if user can include/exclude using the buttons, why do we need list box in this case? Can we do it just using the buttons?&lt;/P&gt;&lt;P&gt;Note: ABC_COMP field has multiple data values. 'XYZ_2020' is just one of the data value.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ABC_COMP is available as a list box&amp;nbsp; in the app. But user wants to include or exclude 'XYZ_2020' with one click and not from the available list box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either a list box with value 'XYZ_2020' OR buttons to include/ exclude&amp;nbsp; data value 'XYZ_2020' from field ABC_COMP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 02:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731221#M452300</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2020-07-28T02:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731277#M452302</link>
      <description>&lt;P&gt;&lt;EM&gt;Also, if user can include/exclude using the buttons, why do we need list box in this case? Can we do it just using the buttons?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Where to you want to include and exclude values then? Please see the attached qvw for clarification&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 08:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731277#M452302</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-28T08:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731380#M452305</link>
      <description>&lt;P&gt;Thanks Kush. This helps.&lt;/P&gt;&lt;P&gt;But, when excluded, it is not showing in the Current selection box that 'XYZ_2020' has been excluded. Something like, 'NOT XYX_2020'&lt;/P&gt;&lt;P&gt;Also, I have noticed that the not associated data values are not being displayed in the list box.&lt;/P&gt;&lt;P&gt;Example: data value 'C' is not associated to the selections in the report. When, I hit on the exclude button, both 'C' and 'XYZ_2020' are getting disappeared from the list box.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 13:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731380#M452305</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2020-07-28T13:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731423#M452306</link>
      <description>&lt;P&gt;Why you want to show '&lt;SPAN&gt;NOT XYX_2020' in current selection? When you already have button that&amp;nbsp; itself describes&amp;nbsp;that value is excluded. What is exact requirement?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 14:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731423#M452306</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-28T14:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731424#M452307</link>
      <description>&lt;P&gt;It is needed in Current selection box so that it is clear to users on what selections have been made while they are exporting any objects to excel.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 14:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731424#M452307</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2020-07-28T14:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731443#M452308</link>
      <description>&lt;P&gt;What should happen when user selects 'EXCLUDING XYZ 2020'?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 15:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731443#M452308</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-28T15:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731451#M452309</link>
      <description>&lt;P&gt;Requirement: Users should have the flexibility to include or exclude 'XYZ_2020' data from the QlikView report.&lt;/P&gt;&lt;P&gt;When users click on 'exclude'- data related to XYZ_2020 should be excluded from the&amp;nbsp; report. This should be displayed in the Current selection box so that when users look at the CS box, they should be aware of all the filters/exclusions applied. This also helps when exports are taken.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 15:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731451#M452309</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2020-07-28T15:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731458#M452310</link>
      <description>&lt;P&gt;see the attached if it helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 16:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731458#M452310</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-28T16:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731465#M452311</link>
      <description>&lt;P&gt;Thank you Kush. This helps if I had just a couple charts in the report so that I can modify the expression in them.&lt;/P&gt;&lt;P&gt;I have many charts and tables in the report.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 16:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731465#M452311</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2020-07-28T16:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: List Box to include or exclude field data</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731466#M452312</link>
      <description>&lt;P&gt;I found a&amp;nbsp; solution to my requirement&amp;nbsp; .&lt;/P&gt;&lt;P&gt;Add 2 buttons&lt;/P&gt;&lt;P&gt;Exclude: 2 actions a) Select in field&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b) Select excluded&lt;/P&gt;&lt;P&gt;Include: 1 action- Clear field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for helping me gain knowledge in other options.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 16:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-to-include-or-exclude-field-data/m-p/1731466#M452312</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2020-07-28T16:39:23Z</dc:date>
    </item>
  </channel>
</rss>

