<?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 What is Displayed in a List Box? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006920#M956529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(GetSelectedCount([User ID]) &amp;gt; 0, Aggr(Only([List Name]), [List Name]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105696_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2015 20:14:51 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-11-16T20:14:51Z</dc:date>
    <item>
      <title>How Do I Limit What is Displayed in a List Box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006917#M956526</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 table that contains user IDs and list names like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;User ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;List Name&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;bob1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;list_one&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;sarah2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;list_two&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;gene3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;list_three&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created button that selects the User ID of the person using the app and brings up a "List Name" list box, which I want to display only the lists for the selected user ID. I'm guessing this needs to be done via an expression on the list box itself, but I don't know how to write this. So, let's say my user ID is "bob1." Right now, when I click the button, the "List Name" list box comes up, the user ID "bob1" is selected, but the list box lists ALL list names instead of just "list_one." Can anyone tell me how to do that? Thanks so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kenny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 19:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006917#M956526</guid>
      <dc:creator />
      <dc:date>2015-11-16T19:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I Limit What is Displayed in a List Box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006918#M956527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this as your list box expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Only([List Name]), [List Name])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105693_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 19:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006918#M956527</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-16T19:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I Limit What is Displayed in a List Box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006919#M956528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny, I think this will work...how would I rewrite it so that if "bob1" is deselected, then no list names show up. Would I just add some sort of null function somewhere? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 20:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006919#M956528</guid>
      <dc:creator />
      <dc:date>2015-11-16T20:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I Limit What is Displayed in a List Box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006920#M956529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(GetSelectedCount([User ID]) &amp;gt; 0, Aggr(Only([List Name]), [List Name]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105696_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 20:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006920#M956529</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-16T20:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I Limit What is Displayed in a List Box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006921#M956530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or change the the list box for UserID to always have one value selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 21:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006921#M956530</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-16T21:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I Limit What is Displayed in a List Box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006922#M956531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I would do it is put all the names in to one field an then only show the listbox once a username is selected. This is done on the layout tab of the listbox properties.&amp;nbsp; Set the connditional show to: &lt;/P&gt;&lt;P&gt;GetSelectedCount([User ID]) = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also set that listbox to "Hide Excluded" on the General tab of the listbox properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Josh&lt;/P&gt;&lt;P&gt;Qlik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 00:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006922#M956531</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2015-11-17T00:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I Limit What is Displayed in a List Box?</title>
      <link>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006923#M956532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for everyone's input. I actually used bits and pieces from multiple responses to come up with the best solution for my situation, so thanks to all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 18:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Do-I-Limit-What-is-Displayed-in-a-List-Box/m-p/1006923#M956532</guid>
      <dc:creator />
      <dc:date>2015-11-17T18:53:39Z</dc:date>
    </item>
  </channel>
</rss>

