<?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: Always show list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242616#M862304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Yes, my problem was that when there were no rows in table with "Has-license-car" field set to 1, the checkbox was disappearing.&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;&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; font-size: 13px;"&gt;The goal of this checkbox was the following:&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;When you check it filters the rows of the table which has "Has-license-car" set to 1 and when you uncheck it, it does not filter data on the table, it takes into account all the values with "Has-license-car" field set to 0 or 1.&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;&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; font-size: 13px;"&gt;With the expression that I was using in the list box it was working and filter data correctly, the only problem was that checkbox (list box) was disappearing when all values on "Has-license-car" field were set to 0.&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;&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; font-size: 13px;"&gt;So now, using your expression, checkbox will always be visible and data in the table will be filtered correctly according to the value of the checkbox (checked or unchecked). If checked data on table will be filter according to "Has-license-car" = 1, otherwise (if unchecked) no data will be filtered (all data in table will be taken into account independently if its values is 0 or 1), right?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 02:11:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-01-13T02:11:25Z</dc:date>
    <item>
      <title>Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242612#M862300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a list box with "Windows Checkboxes" as selection style. &lt;/P&gt;&lt;P&gt;This list box has an expression defined like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if([Has-license-car]=1,'Has license car')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field [Has-license-car] is a bit type (0 or 1) that is loaded from a SQL table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="66.933334" style="border: 1px solid rgb(0, 0, 0); width: 191.933px; height: 67.9333px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Category&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Has-license-car&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Analyst&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Director&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Manager&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;Analyst&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;Comercial&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I check the list box this only shows personal that has license car. Otherwise it shows all the personal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is when I have a table like below in which all "Has-license-car" values are 0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="154.933334" style="border: 1px solid rgb(0, 0, 0); width: 193.933px; height: 155.933px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Category&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Has-license-car&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Analyst&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Director&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Manager&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Analyst&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Comercial&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case since all "Has-license-car" values are 0 then list box is never shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I am trying to do is to always show the list box even if all "Has-license-car" values are 0.&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/Always-show-list-box/m-p/1242612#M862300</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242613#M862301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not clear on your requirement.. Are you looking for the below expression:&lt;/P&gt;&lt;P&gt;=if([Has-license-car]=1,'Has license car','Has license car')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 00:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242613#M862301</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2017-01-13T00:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242614#M862302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is that a listbox?&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get rid of Expression. then choose field "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Has-license-car]&lt;/SPAN&gt;" as a list box field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that will show you all values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 01:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242614#M862302</guid>
      <dc:creator>john9inno</dc:creator>
      <dc:date>2017-01-13T01:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242615#M862303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is. But doing what you indicate, creates a listbox with two choices, 0 or 1. I do not want to show a list with the two possible values, I mean, I only want to show a checkbox with one choice titled "Has license car" and when you check it filter data the rows of the table which has "Has-license-car" set to 1 and when you uncheck it, it does not filter data on the table, it takes into account all the values with "Has-license-car" field set to 0 or 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In conclusion, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 02:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242615#M862303</guid>
      <dc:creator />
      <dc:date>2017-01-13T02:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242616#M862304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Yes, my problem was that when there were no rows in table with "Has-license-car" field set to 1, the checkbox was disappearing.&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;&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; font-size: 13px;"&gt;The goal of this checkbox was the following:&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;When you check it filters the rows of the table which has "Has-license-car" set to 1 and when you uncheck it, it does not filter data on the table, it takes into account all the values with "Has-license-car" field set to 0 or 1.&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;&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; font-size: 13px;"&gt;With the expression that I was using in the list box it was working and filter data correctly, the only problem was that checkbox (list box) was disappearing when all values on "Has-license-car" field were set to 0.&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;&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; font-size: 13px;"&gt;So now, using your expression, checkbox will always be visible and data in the table will be filtered correctly according to the value of the checkbox (checked or unchecked). If checked data on table will be filter according to "Has-license-car" = 1, otherwise (if unchecked) no data will be filtered (all data in table will be taken into account independently if its values is 0 or 1), right?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 02:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242616#M862304</guid>
      <dc:creator />
      <dc:date>2017-01-13T02:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242617#M862305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your explanation is rather confusing. I suggest that you upload a small sample qvw file that illustrates the problem.&lt;/P&gt;&lt;P&gt;Otherwise &lt;A href="https://community.qlik.com/qlik-users/16307"&gt;trdandamudi&lt;/A&gt;'s suggestion looks correct to me - that should meet &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;your requirements described above. Otherwise, perhaps you need a button and a variable, but its hard to say on the information you have provided.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 05:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242617#M862305</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-01-13T05:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242618#M862306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please upload a sample app with your requirement and the problem your facing so that it would be helpful for us to understand &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 06:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242618#M862306</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-01-13T06:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242619#M862307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;BR /&gt;Try to use an expression instead of the field in the General tab - List Box Properties&lt;BR /&gt;Eg: =if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Has-license-car&lt;/SPAN&gt;=1, 1, '')&lt;BR /&gt;Similar expression in the Layout condition if you want to see the List Box only for the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Has-license-car&lt;/SPAN&gt;=1:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=if(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Has-license-car&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=1, 1, 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 09:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242619#M862307</guid>
      <dc:creator>vcanale</dc:creator>
      <dc:date>2017-01-13T09:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242620#M862308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead creating formula in list box, create it in Script and you will avoid this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 09:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242620#M862308</guid>
      <dc:creator>annafuksa1</dc:creator>
      <dc:date>2017-01-13T09:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242621#M862309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 12:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242621#M862309</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2017-01-13T12:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Always show list box</title>
      <link>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242622#M862310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trust that you are doing good!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make use of Data Island to solve your query. Create data island table using below load script and post that you can use &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;Has-license-car&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; field in List box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyIsland:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Metric, Has-license-car&lt;/P&gt;&lt;P&gt;Has-license-car, 1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 10:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-show-list-box/m-p/1242622#M862310</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-01-19T10:27:14Z</dc:date>
    </item>
  </channel>
</rss>

