<?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: Multi select on a filter using triggers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multi-select-on-a-filter-using-triggers/m-p/634526#M232736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Polisetti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may you attach sample application to illustrate your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 May 2014 13:39:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-15T13:39:25Z</dc:date>
    <item>
      <title>Multi select on a filter using triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-select-on-a-filter-using-triggers/m-p/634525#M232735</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 product selection on my report, in which user should be able to select multiple products for all conditions except 1 condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(GetFieldSelections([_Select Chart NM])='Top 15 &amp;amp; Bottom 15 Physicians',&amp;nbsp; &lt;/P&gt;&lt;P&gt;IF(GetSelectedCount([Brand Name])=0,SubField( Concat(DISTINCT [Brand Name], ','),',')&lt;/P&gt;&lt;P&gt;,subfield(GetFieldSelections([Brand Name]),','))&amp;nbsp; , &lt;/P&gt;&lt;P&gt;'("'&amp;amp;GetFieldSelections([Brand Name],'"|"')&amp;amp;'")')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What this expression does is, when top 15 &amp;amp; bottom 15 physicians are selected, then the user cannot select more than 1 product. whereas on all other selections user should be able to select multiple products and&lt;STRONG&gt; '("'&amp;amp;GetFieldSelections([Brand Name],'"|"')&amp;amp;'")'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;expression comes into picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression works fine, but the problem is when the brand name has spaces in between it acts wierd. Say a user selects brand: &lt;STRONG&gt;"ABC XY"&lt;/STRONG&gt; and brand &lt;STRONG&gt;"EFG"&lt;/STRONG&gt;, then at the first instant&lt;STRONG&gt; user can see the data for both of the selected products&lt;/STRONG&gt;, but when the user selects anything else, say changes time period on report etc the &lt;STRONG&gt;brand selection with space, i.e "ABC XY" goes off and user can see data only for brand "EFG".&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 10:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-select-on-a-filter-using-triggers/m-p/634525#M232735</guid>
      <dc:creator>polisetti</dc:creator>
      <dc:date>2014-05-15T10:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Multi select on a filter using triggers</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-select-on-a-filter-using-triggers/m-p/634526#M232736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Polisetti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may you attach sample application to illustrate your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 13:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-select-on-a-filter-using-triggers/m-p/634526#M232736</guid>
      <dc:creator />
      <dc:date>2014-05-15T13:39:25Z</dc:date>
    </item>
  </channel>
</rss>

