<?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 2 List Box Selection Based on Their values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147576#M25996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. Both of yours' suggestions seem to be working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2009 03:40:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-24T03:40:46Z</dc:date>
    <item>
      <title>2 List Box Selection Based on Their values</title>
      <link>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147571#M25991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 list boxes;&lt;/P&gt;&lt;P&gt;List Box 1 have Products A, B, C and List Box 2 have Items 1, 2, 3 (all these items belongs to product B only). Now on the report, I want to see Product A, B, C and Items 1, 2 only.&lt;/P&gt;&lt;P&gt;The problem is, when I am selecting Item 1 and 2, its deselecting Product A and C and only showing Product B with Item 1 and 2. I have see all these selection on the report, which will be Product A, B and C with item 1 and 2.&lt;/P&gt;&lt;P&gt;Please let me know, if you know any way around. Thanks in advance.&lt;/P&gt;&lt;P&gt;~Sachin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 02:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147571#M25991</guid>
      <dc:creator />
      <dc:date>2009-06-24T02:16:10Z</dc:date>
    </item>
    <item>
      <title>2 List Box Selection Based on Their values</title>
      <link>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147572#M25992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You say that all of your items are for product B. If you select any items, you can logically only see product B. There are no items for products A and C, so how can you expect to see items that don't exist on your report? Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 02:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147572#M25992</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-24T02:30:04Z</dc:date>
    </item>
    <item>
      <title>2 List Box Selection Based on Their values</title>
      <link>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147573#M25993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry for the confusion. I took a hypothetical example. You can suppose there is no sub category for product A and C, however product B have 3 sub items in it. Product A and C also have sale and product B have sale at the product level as well we can classify them at Items level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 02:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147573#M25993</guid>
      <dc:creator />
      <dc:date>2009-06-24T02:34:46Z</dc:date>
    </item>
    <item>
      <title>2 List Box Selection Based on Their values</title>
      <link>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147574#M25994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, so items 1, 2 and 3 are sub-categories of product B, where products A and C don't have these sub categories?&lt;/P&gt;&lt;P&gt;So your data looks something like this?&lt;/P&gt;&lt;P&gt;[Sales]:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Product,Item,Quantity&lt;BR /&gt;A,,5&lt;BR /&gt;B,1,2&lt;BR /&gt;B,2,4&lt;BR /&gt;B,3,8&lt;BR /&gt;C,,3&lt;BR /&gt;D,,7&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;And when you select Products A, B and C and items 1 and 2, you want to see this?&lt;/P&gt;&lt;P&gt;Product Item Quantity&lt;BR /&gt;A 5&lt;BR /&gt;B 1 2&lt;BR /&gt;B 2 4&lt;BR /&gt;C 3&lt;/P&gt;&lt;P&gt;I can think of a few approaches.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You could go ahead and establish a 'none' item when there is no sub category. Then you could select items 1, 2 and 'none' to get the results. I think this would be my preference.&lt;/LI&gt;&lt;LI&gt;You could combine the Product and Item fields into a "Product Item" field, with values A, B1, B2, B3, C and D for the example above. You could then select A, B1, B2 and C to get the results you want.&lt;/LI&gt;&lt;LI&gt;You could make a "Select Item" field disconnected from the main data. Then you could use a condition to get the desired combination: sum(if(len(Item)&amp;lt;1 or Item="Select Item",Quantity)).&lt;/LI&gt;&lt;LI&gt;You could probably do the "Select Item" with set analysis too, which would execute faster.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 02:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147574#M25994</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-24T02:55:54Z</dc:date>
    </item>
    <item>
      <title>2 List Box Selection Based on Their values</title>
      <link>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147575#M25995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to make this type of selection by setting up a flag. In both tables, I set up a field (Sale) with a 1 or 0 depending on whether it should be selected or not. I named them the same, but I'm not sure if they shouldn't be two different names.&lt;/P&gt;&lt;P&gt;By selecting 1 in the Sale column, I get A, C and the 2 Items in B.&lt;/P&gt;&lt;P&gt;Here's the Inline I used:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD * INLINE [&lt;BR /&gt; Product, Sale&lt;BR /&gt; A, 1&lt;BR /&gt; B, 0&lt;BR /&gt; C, 1&lt;BR /&gt;];&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Product, SubItem, Sale&lt;BR /&gt; B, 1, 1&lt;BR /&gt; B, 2, 0&lt;BR /&gt; B, 3, 1&lt;BR /&gt;];&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;EDIT: I posted before seeing John's reply. One of his suggestions should work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 02:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147575#M25995</guid>
      <dc:creator />
      <dc:date>2009-06-24T02:56:27Z</dc:date>
    </item>
    <item>
      <title>2 List Box Selection Based on Their values</title>
      <link>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147576#M25996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. Both of yours' suggestions seem to be working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 03:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-List-Box-Selection-Based-on-Their-values/m-p/147576#M25996</guid>
      <dc:creator />
      <dc:date>2009-06-24T03:40:46Z</dc:date>
    </item>
  </channel>
</rss>

