<?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 Select multiple values based on current selection - use both in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-multiple-values-based-on-current-selection-use-both-in/m-p/678151#M246019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my scenario a student can take different Modules. For an example I have these Modules: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;AH10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;AH11&lt;/P&gt;&lt;P&gt;AH12&lt;/P&gt;&lt;P&gt;BL20&lt;/P&gt;&lt;P&gt;BL21&lt;/P&gt;&lt;P&gt;BL30&lt;/P&gt;&lt;P&gt;BL32&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a user select from a list box AH10, I would like to create a set analysis where I would count the number of students taking this module compared with all AH1 modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what I would like to eventually get should look like:&lt;/P&gt;&lt;P&gt;Count({Grade,Module={"$(=vModuleCode)"}}Student) / Count ({Grade,Module={"$(=vModuleCodeALL)"}}Student)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see I have already created a variable for the selected module vModuleCode and I would like to create a similar variable where I would like to store all values for Modules from the same 'category'. So if user selects a module AH10, then in the vModuleCodeALL variable should be assigned values AH10,AH11,AH12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jul 2014 15:12:03 GMT</pubDate>
    <dc:creator>terezagr</dc:creator>
    <dc:date>2014-07-15T15:12:03Z</dc:date>
    <item>
      <title>Select multiple values based on current selection - use both in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Select-multiple-values-based-on-current-selection-use-both-in/m-p/678151#M246019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my scenario a student can take different Modules. For an example I have these Modules: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;AH10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;AH11&lt;/P&gt;&lt;P&gt;AH12&lt;/P&gt;&lt;P&gt;BL20&lt;/P&gt;&lt;P&gt;BL21&lt;/P&gt;&lt;P&gt;BL30&lt;/P&gt;&lt;P&gt;BL32&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a user select from a list box AH10, I would like to create a set analysis where I would count the number of students taking this module compared with all AH1 modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what I would like to eventually get should look like:&lt;/P&gt;&lt;P&gt;Count({Grade,Module={"$(=vModuleCode)"}}Student) / Count ({Grade,Module={"$(=vModuleCodeALL)"}}Student)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see I have already created a variable for the selected module vModuleCode and I would like to create a similar variable where I would like to store all values for Modules from the same 'category'. So if user selects a module AH10, then in the vModuleCodeALL variable should be assigned values AH10,AH11,AH12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-multiple-values-based-on-current-selection-use-both-in/m-p/678151#M246019</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2014-07-15T15:12:03Z</dc:date>
    </item>
  </channel>
</rss>

