<?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 do I limit the items displayed in a list box ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702204#M1066148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Sep 2014 10:36:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-05T10:36:53Z</dc:date>
    <item>
      <title>How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702196#M1066140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my dashboard I have a container object comprising two pivot tables: one showing sales information for Manchester, and the other showing sales info for London. I also have a list box called SalesPerson.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select the Manchester pivot table I only want to display Manchester salespersons in the list box. Similarly, if I click on the London pivot table object, I want to see ONLY London sales persons in the listbox (not Manchester's).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help you, each Salesperson has a field called Sales_Location associated with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I code for this ? And where ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;MV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS This is not a Hide Excluded solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 13:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702196#M1066140</guid>
      <dc:creator />
      <dc:date>2014-09-03T13:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702197#M1066141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a SalesPerson List box with expression as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(SalesPerson,SalesPerson)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 13:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702197#M1066141</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-03T13:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702198#M1066142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe load separate lists for London and Manchester salespersons and put a trigger on the pivot tables to show/hide relevant list boxes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 13:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702198#M1066142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-03T13:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702199#M1066143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This doesn't work. It just creates two columns of identical items of salespersons in the list box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 14:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702199#M1066143</guid>
      <dc:creator />
      <dc:date>2014-09-03T14:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702200#M1066144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that seems a more promising solution. Would you load separate QV tables in the script ? And create two distinct list box objects ?&lt;/P&gt;&lt;P&gt;How could you 'trigger' the show/hide of the listboxes ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 15:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702200#M1066144</guid>
      <dc:creator />
      <dc:date>2014-09-03T15:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702201#M1066145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thinking about this again what you would need to do is have a text object(s) used as a button which hides the pivot table AND the list box.&lt;/P&gt;&lt;P&gt;Firstly set up a variable (go to Settings &amp;gt; Variable Overview &amp;gt; Add the add a new variable called vLocation (for example). You don't need to define it.&lt;/P&gt;&lt;P&gt;You could have two text objects, one with the text 'Manchester' and the other with the text 'London'.&amp;nbsp; In the Manchester text object properties go to the Actions tab then click Add.&amp;nbsp; Choose Action Type 'External' and Action 'Set Variable' then click OK.&amp;nbsp; In the Variable box put vLocation then in the Value box put Manchester.&amp;nbsp; Do the same thing for the London text object but with London as the variable value.&lt;/P&gt;&lt;P&gt;In the pivot table and list box properties in the Layout tab in the Show section click on conditional and type vLocation='Manchester' (or 'London') for the relevant chart/list box.&amp;nbsp; When you click on the text object its sets the variable to whichever location and shows the right sheet and hides the other.&amp;nbsp; You can also change the colour of the text object based on the variable if you want to show which button is clicked or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 15:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702201#M1066145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-03T15:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702202#M1066146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi Maureen,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;See the attachment and see if this approach helps?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 15:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702202#M1066146</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2014-09-03T15:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702203#M1066147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh yes ! That works. Thank you for a good idea and explaining it very clearly.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 10:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702203#M1066147</guid>
      <dc:creator />
      <dc:date>2014-09-05T10:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702204#M1066148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 10:36:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702204#M1066148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-05T10:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702205#M1066149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One final thing. How do you change the background colour of the text object depending on the variable ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 12:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702205#M1066149</guid>
      <dc:creator />
      <dc:date>2014-09-05T12:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702206#M1066150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Text object properties go to the General tab and under Background click on the color box.&amp;nbsp; Under Base Color click the calculated tick box and define the expression (for the Manchester button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(vLocation='Manchester',rgb(a,b,c),rgb(x,y,z))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously the a,b,c and x,y,z are the red/green/blue numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 13:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702206#M1066150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-05T13:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702207#M1066152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like your approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would normally use&amp;nbsp; AGGR(SalesPerson,SalesPerson)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 13:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702207#M1066152</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-09-05T13:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702208#M1066153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Cheers mate. Dollar sign expansion is very powerful way to generate dynamic fields and their values. Probably, it's a subject for my next blog post.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 13:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702208#M1066153</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2014-09-05T13:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702209#M1066154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I look forward to it Deepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw. can you be voted for the Qlik Luminary class of 2015 or can you only be nominated once&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. once a Luminary always a Luminary, or do you have to prove yourself each year?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Al&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 13:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702209#M1066154</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-09-05T13:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I limit the items displayed in a list box ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702210#M1066155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's excellent. many thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 13:37:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-limit-the-items-displayed-in-a-list-box/m-p/702210#M1066155</guid>
      <dc:creator />
      <dc:date>2014-09-05T13:37:35Z</dc:date>
    </item>
  </channel>
</rss>

