<?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 dynamically creating objects based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dynamically-creating-objects-based-on-selection/m-p/777008#M275400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a listbox and a bar chart.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For each selection in the listbox,I have to create one bar chart.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If i select only one value in listbox then there should only one bar chart showing the details of the selected value,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if I select two values from list box then there should be two bar chart one showing details of firstvalue and the second showing details of second value.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I don't want to pre-create chart and display it on selection of values in listbox as the values in listbox will go on increasing.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Any help on this is really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Naushad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2015 06:54:02 GMT</pubDate>
    <dc:creator>naushad786</dc:creator>
    <dc:date>2015-01-13T06:54:02Z</dc:date>
    <item>
      <title>dynamically creating objects based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-creating-objects-based-on-selection/m-p/777008#M275400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a listbox and a bar chart.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For each selection in the listbox,I have to create one bar chart.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If i select only one value in listbox then there should only one bar chart showing the details of the selected value,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if I select two values from list box then there should be two bar chart one showing details of firstvalue and the second showing details of second value.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I don't want to pre-create chart and display it on selection of values in listbox as the values in listbox will go on increasing.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Any help on this is really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Naushad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 06:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-creating-objects-based-on-selection/m-p/777008#M275400</guid>
      <dc:creator>naushad786</dc:creator>
      <dc:date>2015-01-13T06:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: dynamically creating objects based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/dynamically-creating-objects-based-on-selection/m-p/777009#M275401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem with this approach is that in the AP, you won't be able to manipulate the User Interface in say the AJAX client. IMHO you should always go for pre-created bar charts. Most of the time, a lot of them will be hidden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A way to accomplish this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Define the maximum number of bar charts/expressions that a user will want to compare. Let's say that four (4) is a sensible choice. More objects will reduce the area for each bar chart and may make them hard to use. Largely depends on the amount a values in each of them.&lt;/LI&gt;&lt;LI&gt;Arrange them into a grid.&lt;/LI&gt;&lt;LI&gt;Add a conditional show to each bar chart. Always show the first bar chart, even when there is no selection and all values in your listbox turn white. Use the first selection/possible listbox value in the expression. If there are two or more selections, use the second selection in the second bar chart (and unhide it). If there are three or more selections, ...&lt;/LI&gt;&lt;LI&gt;For each bar chart, create an expression that uses the &lt;EM&gt;n&lt;/EM&gt;th value in the listbox.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way to define the four expressions is to use variables and to create actions that change the variables every time a selection in the listbox is made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 08:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamically-creating-objects-based-on-selection/m-p/777009#M275401</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-01-13T08:28:31Z</dc:date>
    </item>
  </channel>
</rss>

