<?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: Add entry Others to Listbox to filter data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967226#M331453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe an option to use the search in the listbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum(category_value)=0&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Dec 2015 16:08:56 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-12-08T16:08:56Z</dc:date>
    <item>
      <title>Add entry Others to Listbox to filter data</title>
      <link>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967221#M331448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a table with entries and a table with categories.&lt;/P&gt;&lt;P&gt;category-value = 1 assigend&lt;/P&gt;&lt;P&gt;category_value = 0 = not assigened&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;entry:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;id, description&lt;BR /&gt; 1, 'entry 1'&lt;BR /&gt; 2, 'entry 2'&lt;BR /&gt; 3, 'entry 3'&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;category:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;id, category_name, category_value&lt;BR /&gt; 1, 'category A', 1&lt;BR /&gt; 1, 'category B', 1&lt;BR /&gt; 1, 'category C', 0&lt;BR /&gt; 2, 'category A', 1&lt;BR /&gt; 2, 'category B', 0&lt;BR /&gt; 2, 'category C', 0&lt;BR /&gt; 3, 'category A', 0&lt;BR /&gt; 3, 'category B', 0&lt;BR /&gt; 3, 'category C', 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use the field category_name as a Listbox control to filter entries.&lt;/P&gt;&lt;P&gt;Furthermore I use an set analysis function like &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;category_value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;to Count only entries with at least one category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to add an value 'Others' to the listbox control&lt;/P&gt;&lt;P&gt;to select only entries which has no assigend categories SUM(category_value) = 0 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could try with the SQL query....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;&amp;nbsp; a.id&lt;BR /&gt;&amp;nbsp; a.category_name,&lt;BR /&gt;&amp;nbsp; a.category_value,&lt;BR /&gt;&amp;nbsp; 1 AS SUM_catValue&lt;BR /&gt;FROM&lt;BR /&gt;&amp;nbsp; category a&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; UNION&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT&lt;BR /&gt;&amp;nbsp; a.id,&lt;BR /&gt;&amp;nbsp; 'Others' AS category_name,&lt;BR /&gt;&amp;nbsp; 1 AS category_value,&lt;BR /&gt;&amp;nbsp; SUM(category_value) AS SUM_catValue&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;&amp;nbsp; category a&lt;BR /&gt; GROUP BY a.id, 'Others', 1&lt;BR /&gt;&amp;nbsp; HAVING SUM(category_value) &amp;lt; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But can I also do it without manipulating the query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 17:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967221#M331448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-07T17:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add entry Others to Listbox to filter data</title>
      <link>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967222#M331449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this list box expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(If(Sum({1} category_value) &amp;gt; 0, Only({1} category_name), 'Others'), category_name)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 17:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967222#M331449</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-07T17:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Add entry Others to Listbox to filter data</title>
      <link>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967223#M331450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;id = {"=sum(Category_value)=0"}&amp;gt;}id)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 18:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967223#M331450</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-12-07T18:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add entry Others to Listbox to filter data</title>
      <link>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967224#M331451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;but with an expression I only get a second column and the Expression is calculated for each entry.&lt;/P&gt;&lt;P&gt;I Need a completely new entry under the categories A, B, C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea how I can add entries to a listbox without changing the data table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="listbox.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108322_listbox.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 08:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967224#M331451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-08T08:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Add entry Others to Listbox to filter data</title>
      <link>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967225#M331452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be make that manipulation in the script? and what would you filter when a user selects Others?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 15:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967225#M331452</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-08T15:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Add entry Others to Listbox to filter data</title>
      <link>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967226#M331453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe an option to use the search in the listbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum(category_value)=0&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 16:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-entry-Others-to-Listbox-to-filter-data/m-p/967226#M331453</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-12-08T16:08:56Z</dc:date>
    </item>
  </channel>
</rss>

