<?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: Default List Box Selection - Exclude a value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002486#M969614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rudolf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree, it seems easier.&lt;/P&gt;&lt;P&gt;Currently trying to grasp the syntax to exclude it from the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Mariana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Sep 2015 15:26:13 GMT</pubDate>
    <dc:creator>mfigueiredo</dc:creator>
    <dc:date>2015-09-22T15:26:13Z</dc:date>
    <item>
      <title>Default List Box Selection - Exclude a value</title>
      <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002478#M969606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to find this answer to this question, but with no sucess so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a List Box with several values, and a value that should always be excluded. This is the rule unless I need to generate a table/chart/text box with that information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short, it HAS to be there, but always excluded/filtered from same listbox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when the user selects something in that listbox and than disselects, all values in that field are included. I don't want to condition all charts with set analysis, I think it would be easier to make a default state in a List Box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Meaning if nothing is selected in the listbox, exclude that value.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to use an expression in a List Box. Currently I have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount(GroupCd) &amp;gt; 1, &lt;/P&gt;&lt;P&gt;GroupCd, GroupCd =-'CONSUMPTION')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clearly, I have my syntax wrong, and can't, for the life of me, get it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Mariana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002478#M969606</guid>
      <dc:creator>mfigueiredo</dc:creator>
      <dc:date>2015-09-22T14:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Default List Box Selection - Exclude a value</title>
      <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002479#M969607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand why you don't just permanently exclude that value from the listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The charts are built off the listbox. They are built off the underlying field, which still has all values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002479#M969607</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2015-09-22T14:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Default List Box Selection - Exclude a value</title>
      <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002480#M969608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount(GroupCd) &amp;gt; 1, &lt;/P&gt;&lt;P&gt;GroupCd, if (GroupCd&amp;lt;&amp;gt;'CONSUMPTION',GroupCd))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002480#M969608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-22T15:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Default List Box Selection - Exclude a value</title>
      <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002481#M969609</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;That doesn't work. I did exclude the value from the list box, but if I clear the field, the charts go back to including it.&lt;/P&gt;&lt;P&gt;Maybe another solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002481#M969609</guid>
      <dc:creator>mfigueiredo</dc:creator>
      <dc:date>2015-09-22T15:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Default List Box Selection - Exclude a value</title>
      <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002482#M969610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the charts to exclude the value, why not create another field in script that down't include that value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if (GroupCd&amp;lt;&amp;gt;'CONSUMPTION',GroupCd)) as GroupCdForCharts,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002482#M969610</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2015-09-22T15:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Default List Box Selection - Exclude a value</title>
      <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002483#M969611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rudolf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I tried your expression, however the result is that when I select a value, and then disselect, the list box excludes CONSUMPTION but includes this value in the charts.&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Mariana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002483#M969611</guid>
      <dc:creator>mfigueiredo</dc:creator>
      <dc:date>2015-09-22T15:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Default List Box Selection - Exclude a value</title>
      <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002484#M969612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can try that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002484#M969612</guid>
      <dc:creator>mfigueiredo</dc:creator>
      <dc:date>2015-09-22T15:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Default List Box Selection - Exclude a value</title>
      <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002485#M969613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose that you Need to work with set Analysis&lt;/P&gt;&lt;P&gt;or better way: exclude this value while loading your data in script&lt;/P&gt;&lt;P&gt;maybe other way round is better. what for you Need this value?&lt;/P&gt;&lt;P&gt;if so, create another table for selection of this value (might be diffcult due&lt;/P&gt;&lt;P&gt;to syntetic key etc.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002485#M969613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-22T15:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Default List Box Selection - Exclude a value</title>
      <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002486#M969614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rudolf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree, it seems easier.&lt;/P&gt;&lt;P&gt;Currently trying to grasp the syntax to exclude it from the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Mariana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002486#M969614</guid>
      <dc:creator>mfigueiredo</dc:creator>
      <dc:date>2015-09-22T15:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Default List Box Selection - Exclude a value</title>
      <link>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002487#M969615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mariana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following syntax instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(GetSelectedCount(GroupCd) &amp;gt; 1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;GroupCd, &lt;SPAN style="line-height: 1.5em;"&gt;IF(NOT MATCH(GroupCd, 'CONSUMPTION'), &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GroupCd&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;See below for an example:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="image14.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/99723_image14.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Camile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 19:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-List-Box-Selection-Exclude-a-value/m-p/1002487#M969615</guid>
      <dc:creator>cjohnson</dc:creator>
      <dc:date>2015-09-22T19:35:27Z</dc:date>
    </item>
  </channel>
</rss>

