<?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: Capture ListBox Selections in separate variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422120#M157285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebecca, this was helpful.&amp;nbsp; What I'm trying to do is setup a chart that has dynamic dimensions.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I first created a listbox of all the fields available in the application, using =[$Field]&lt;/LI&gt;&lt;LI&gt;When user makes single selection of a field, it stores the single selection in variable using v1=GetFieldSelections([$Field]), and the chart uses that variabe as a dimension.&amp;nbsp; This works great.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the user asked if they could select multiple fields in the list, and have the chart create multiple dimensions based on their selections.&amp;nbsp; This is where I started researching a way to capture each selection into a separate variable, then create conditional dimensions in the chart based on whether the variables were filled in or not.&amp;nbsp; I just want to get this working if the user makes 2 selections in the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense as to what I'm trying to accomplish.﻿﻿﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2013 21:20:23 GMT</pubDate>
    <dc:creator>jzimolong</dc:creator>
    <dc:date>2013-05-29T21:20:23Z</dc:date>
    <item>
      <title>Capture ListBox Selections in separate variables</title>
      <link>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422118#M157283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to store a single listbox selection into a variable using =GetFieldSelections([$Field]).&amp;nbsp; If a user selects multiple values, how can I store each listbox selection in a separate variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 20:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422118#M157283</guid>
      <dc:creator>jzimolong</dc:creator>
      <dc:date>2013-05-29T20:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Capture ListBox Selections in separate variables</title>
      <link>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422119#M157284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends what you are looking to accomplish.&amp;nbsp; If you have a static number of selections to be made into variables, you can use SubField(). See attached.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can provide some more clarification, though, because I am betting there is an easier, less tedious, way to solve your problem than this method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 20:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422119#M157284</guid>
      <dc:creator />
      <dc:date>2013-05-29T20:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Capture ListBox Selections in separate variables</title>
      <link>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422120#M157285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebecca, this was helpful.&amp;nbsp; What I'm trying to do is setup a chart that has dynamic dimensions.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I first created a listbox of all the fields available in the application, using =[$Field]&lt;/LI&gt;&lt;LI&gt;When user makes single selection of a field, it stores the single selection in variable using v1=GetFieldSelections([$Field]), and the chart uses that variabe as a dimension.&amp;nbsp; This works great.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the user asked if they could select multiple fields in the list, and have the chart create multiple dimensions based on their selections.&amp;nbsp; This is where I started researching a way to capture each selection into a separate variable, then create conditional dimensions in the chart based on whether the variables were filled in or not.&amp;nbsp; I just want to get this working if the user makes 2 selections in the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense as to what I'm trying to accomplish.﻿﻿﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 21:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422120#M157285</guid>
      <dc:creator>jzimolong</dc:creator>
      <dc:date>2013-05-29T21:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Capture ListBox Selections in separate variables</title>
      <link>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422121#M157286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this is what you have in mind. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 21:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422121#M157286</guid>
      <dc:creator />
      <dc:date>2013-05-29T21:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Capture ListBox Selections in separate variables</title>
      <link>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422122#M157287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was thinking about something like this on the way home.&amp;nbsp; I like it.&amp;nbsp; It's cleaner and once I get this setup, easy to manage.&amp;nbsp; Trying to capture multiple selections in a list box (in variables) was getting to be too complicated for it's own good.&amp;nbsp; I like the idea of creating inline tables for the dimensions and expressions, very slick!&amp;nbsp; The enabling based on conditions is pretty cool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your time and creativity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 01:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422122#M157287</guid>
      <dc:creator>jzimolong</dc:creator>
      <dc:date>2013-05-30T01:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Capture ListBox Selections in separate variables</title>
      <link>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422123#M157288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I tried this expression in list box ='$(=GetFieldSelections($Field))' so when i select the field name in another listbox. i could see the values of the selected in the another list box with this expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 11:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Capture-ListBox-Selections-in-separate-variables/m-p/422123#M157288</guid>
      <dc:creator />
      <dc:date>2017-01-09T11:57:14Z</dc:date>
    </item>
  </channel>
</rss>

