<?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: How to exclude an item from a list box when performing aggregation finction? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667435#M1061258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I learnt two things from you in the last two days!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are these Trim functions for? What made you think that this data set requires a TRIM command? Eager to know please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 05:27:13 GMT</pubDate>
    <dc:creator>rt_new_user</dc:creator>
    <dc:date>2014-09-23T05:27:13Z</dc:date>
    <item>
      <title>How to exclude an item from a list box when performing aggregation finction?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667429#M1061252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i asked this question before too but it looked liked it worked but didn't really. Didn't know how to re-open that discussion hence posting a new one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list box which i used subfield function to generate two other list boxes from using the below command:&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;LOAD Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Operator, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(Operator,'-',1) as Country,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(Operator,'-',2) as Operatorname,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [No of IMSI's] as 'No of items'&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that i have two desired list boxes one as 'Country' and other as 'Operatorname' i want to table to show Sum of 'No of items' for all the countries but do not show the Sum when the country name is Australia. I used the below process but still see Sum for Australia??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 09-23-14 at 12.54 PM.JPG.jpg" class="jive-image" src="/legacyfs/online/67380_Screen Shot 09-23-14 at 12.54 PM.JPG.jpg" style="width: 620px; height: 470px;" /&gt;&lt;IMG alt="Screen Shot 09-23-14 at 12.56 PM.JPG.jpg" class="jive-image" src="/legacyfs/online/67381_Screen Shot 09-23-14 at 12.56 PM.JPG.jpg" style="width: 620px; height: 372px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 03:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667429#M1061252</guid>
      <dc:creator>rt_new_user</dc:creator>
      <dc:date>2014-09-23T03:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude an item from a list box when performing aggregation finction?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667430#M1061253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;missing some {} around the SET MODIFIER :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;Country -= {AUSTRALIA}&amp;gt;} [No of items])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 03:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667430#M1061253</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-23T03:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude an item from a list box when performing aggregation finction?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667431#M1061254</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;You have not used Curly Brackets which is the standard syntax of Set Analysis to pass specific values for fields and calculate result on its basis.&lt;/P&gt;&lt;P&gt;Use this: {'AUSTRALIA'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;Country = {'*'}-{'AUSTRALIA'}&amp;gt;} [No of items])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;Country -= {'AUSTRALIA'}&amp;gt;} [No of items])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Av7eN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 04:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667431#M1061254</guid>
      <dc:creator>aveeeeeee7en</dc:creator>
      <dc:date>2014-09-23T04:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude an item from a list box when performing aggregation finction?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667432#M1061255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried the below set analysis expression but same result..didn’t work ☹&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 04:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667432#M1061255</guid>
      <dc:creator>rt_new_user</dc:creator>
      <dc:date>2014-09-23T04:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude an item from a list box when performing aggregation finction?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667433#M1061256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried both expressions but still see AUSTRALIA in the table ☹&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 04:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667433#M1061256</guid>
      <dc:creator>rt_new_user</dc:creator>
      <dc:date>2014-09-23T04:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude an item from a list box when performing aggregation finction?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667434#M1061257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the field has a space at the end, trim those space like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Directory;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Date,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Operator,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trim(SubField(Operator,'-',1)) as Country,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Trim(&lt;/SPAN&gt;subfield(Operator,'-',2)) as Operatorname,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [No of IMSI's] as 'No of items'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then try below expression&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;"&gt;=Sum( {&amp;lt;Country -= {'AUSTRALIA'}&amp;gt;} [No of items])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 05:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667434#M1061257</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-23T05:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude an item from a list box when performing aggregation finction?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667435#M1061258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I learnt two things from you in the last two days!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are these Trim functions for? What made you think that this data set requires a TRIM command? Eager to know please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 05:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667435#M1061258</guid>
      <dc:creator>rt_new_user</dc:creator>
      <dc:date>2014-09-23T05:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude an item from a list box when performing aggregation finction?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667436#M1061259</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 noticed that your values has a separator - with spaces on both sides, but in script you specified only - in SubField(), instead you should give&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;"&gt;subfield(Operator,' - ',2) - giving space on both sides of hyphen &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Trim(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;subfield(Operator,'-',2))&amp;nbsp; - trimming the extra spaces&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 05:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-exclude-an-item-from-a-list-box-when-performing/m-p/667436#M1061259</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-23T05:41:50Z</dc:date>
    </item>
  </channel>
</rss>

