<?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 Fill listbox dynamically from a variable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321946#M581909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable V1 with this content: &lt;STRONG&gt;A;B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now i want to fill a listbox dynamically depending on this variable...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listbox:&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;IMG src="https://community.qlik.com/" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried already to use the formula: =SubField(v1,';').&lt;/P&gt;&lt;P&gt;The first value is always shown and this one is not clickable in the listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a solution with an Inputbox, but this one is not looking good.&lt;/P&gt;&lt;P&gt;Has anyone another Idea how to solve my problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides you find my *.qvw example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 13:53:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-15T13:53:04Z</dc:date>
    <item>
      <title>Fill listbox dynamically from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321946#M581909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable V1 with this content: &lt;STRONG&gt;A;B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now i want to fill a listbox dynamically depending on this variable...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listbox:&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;IMG src="https://community.qlik.com/" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried already to use the formula: =SubField(v1,';').&lt;/P&gt;&lt;P&gt;The first value is always shown and this one is not clickable in the listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a solution with an Inputbox, but this one is not looking good.&lt;/P&gt;&lt;P&gt;Has anyone another Idea how to solve my problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides you find my *.qvw example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 13:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321946#M581909</guid>
      <dc:creator />
      <dc:date>2011-11-15T13:53:04Z</dc:date>
    </item>
    <item>
      <title>Fill listbox dynamically from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321947#M581910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May I ask what you want to achieve with this listbox?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I believe even if you could get the variable substrings to be displayed in separate rows, you won't be able to select on them, since they are not connected to fields you can select on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to filter values from your field Value using your variable V1, you could try&lt;/P&gt;&lt;P&gt;=if(wildmatch(V1,'*'&amp;amp;Value&amp;amp;'*'),Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or something similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 15:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321947#M581910</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-15T15:18:52Z</dc:date>
    </item>
    <item>
      <title>Fill listbox dynamically from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321948#M581911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to use this for loading bookmarks. With a macro i read out all available bookmarks in a variable (like BM1;BM2;BM3) and i want to show them in a listbox. If you choose one value, another variable is filled with the selected name and i can load this bookmark. The Bookmark Box is no solution for me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 13:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321948#M581911</guid>
      <dc:creator />
      <dc:date>2011-11-16T13:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fill listbox dynamically from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321949#M581912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that you could select on these values, how do you want to fill your other variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could use an input field and set the bookmarks to the input field values (edit: via Macro). It shoud be possible to select on those (if you use a straight table to view, one could not modify them &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;), not sure if the standard access methods to read out selected values of input fields work the same though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 13:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321949#M581912</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-16T13:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Fill listbox dynamically from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321950#M581913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached for one solution.&amp;nbsp; Create a data island with a ValueSequence field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ValueSequences:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD recno() as ValueSequence&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AUTOGENERATE 10; // maximum number allowed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this as your list box expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=subfield(V1,';',ValueSequence)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selections of values in this list box will actually select the underlying ValueSequence, which you can then use with subfield() again to find which bookmark has been selected.&amp;nbsp; You'll need to decide what to do if multiple are selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 23:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321950#M581913</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-16T23:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fill listbox dynamically from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321951#M581914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's neat, again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haven't thought about using a data island for that and that it will be used as the list box field.&lt;/P&gt;&lt;P&gt; But kind of logical, thank's for pointing to the right direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 11:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321951#M581914</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-17T11:42:49Z</dc:date>
    </item>
    <item>
      <title>Fill listbox dynamically from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321952#M581915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John! Thanks you so much for helping me again...&lt;/P&gt;&lt;P&gt;To me it seems that you are &lt;STRONG style="text-decoration: underline;"&gt;Mr. QlikView in Person&lt;/STRONG&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 11:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321952#M581915</guid>
      <dc:creator />
      <dc:date>2011-11-17T11:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Fill listbox dynamically from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321953#M581916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi John,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Very clever technique. Thanks for sharing with example.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This kind of questions really push the limit.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks to everyone.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cheers - DV&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 15:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321953#M581916</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-11-17T15:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fill listbox dynamically from a variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321954#M581917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very clever solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to take it to the next level and print out the selections I made in V1. Printing one selection is possible but I get problems for multiple selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect something like this:&lt;/P&gt;&lt;P&gt;=GetFieldSelections(subfield(v1,';',ValueSequence),',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it's not working. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 12:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fill-listbox-dynamically-from-a-variable/m-p/321954#M581917</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2012-09-19T12:04:54Z</dc:date>
    </item>
  </channel>
</rss>

