<?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: Filter Listbox By QVUSER() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140542#M754109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I use this expression but in listbox show test1, test2, test3, test4,test5.&lt;/P&gt;&lt;P&gt;I want just show test1 and test2.&lt;/P&gt;&lt;P&gt;i should say value of listbox fetch from database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2018 12:05:32 GMT</pubDate>
    <dc:creator>mrbqlik2009</dc:creator>
    <dc:date>2018-10-08T12:05:32Z</dc:date>
    <item>
      <title>Filter Listbox By QVUSER()</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140536#M754103</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 listbox with some value for example test1, test2, test3, test4, test5.&lt;/P&gt;&lt;P&gt;I want when user1 login to system, listbox show just value test1 and test2.&lt;/P&gt;&lt;P&gt;I write this:&lt;/P&gt;&lt;P&gt;=if(Upper(bLogin) = 'USER1',SaleTypeTitle={'test1', 'test2'})&lt;/P&gt;&lt;P&gt;but not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140536#M754103</guid>
      <dc:creator>mrbqlik2009</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Listbox By QVUSER()</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140537#M754104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend using section access instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a USER as USER1 and the SaleTypeTitle to be the field used to filter, remember to create two lines for user 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See below example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Access,&amp;nbsp; UserID,&amp;nbsp; SaleTypeTitle&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;USER,&amp;nbsp; USER1,&amp;nbsp; test1,&amp;nbsp; &lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;USER,&amp;nbsp; USER1,&amp;nbsp; test2,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 06:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140537#M754104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-08T06:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Listbox By QVUSER()</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140538#M754105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;but can i do that by write expression in listbox?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 06:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140538#M754105</guid>
      <dc:creator>mrbqlik2009</dc:creator>
      <dc:date>2018-10-08T06:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Listbox By QVUSER()</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140539#M754106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No this will require section access to be applied in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 06:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140539#M754106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-08T06:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Listbox By QVUSER()</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140540#M754107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are looking to restrict the display in listbox (and not really data security is an issue), you may try like:&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(Upper(bLogin) = 'USER1',&lt;/SPAN&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;If(Match(SaleTypeTitle,'test1', 'test2')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; ,&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;SaleTypeTitle),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SaleTypeTitle)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 06:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140540#M754107</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-10-08T06:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Listbox By QVUSER()</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140541#M754108</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;try with the OSUSER() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try first osuser() on a textbox, get the exact value and try this:&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;&lt;STRONG&gt;=if(OSUSER()= 'the value you got', if(match(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;SaleTypeTitle,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;test1&lt;/SPAN&gt;','&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;test2&lt;/SPAN&gt;',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SaleTypeTitle&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 08:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140541#M754108</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-10-08T08:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Listbox By QVUSER()</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140542#M754109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I use this expression but in listbox show test1, test2, test3, test4,test5.&lt;/P&gt;&lt;P&gt;I want just show test1 and test2.&lt;/P&gt;&lt;P&gt;i should say value of listbox fetch from database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 12:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Listbox-By-QVUSER/m-p/140542#M754109</guid>
      <dc:creator>mrbqlik2009</dc:creator>
      <dc:date>2018-10-08T12:05:32Z</dc:date>
    </item>
  </channel>
</rss>

