<?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: Help me redesign a table for qlikview selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488478#M182525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jpapador,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. But there is a small issue with that way of doing it.&amp;nbsp; There may be records where multiple subjects can have value as Y, in that case, this logic fails the purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Sep 2013 15:35:33 GMT</pubDate>
    <dc:creator>vishnus85</dc:creator>
    <dc:date>2013-09-06T15:35:33Z</dc:date>
    <item>
      <title>Help me redesign a table for qlikview selections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488475#M182522</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;I am facing a scenario where I require 5 columns (where the value contained is Y) to show up in a listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will attach a sample scenario (excel sheet named Example) here so that I could convey my requirement more clearly. Please see the table here.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="417"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="92"&gt;Student ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="111"&gt;Maths&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="112"&gt;Science&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="102"&gt;Language&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;N&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;N&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;N&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;N&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;N&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;N&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Here Student_ID is unique for every record. The other columns are flag columns indicating whether (Y) or not (N) a student had appeared for an exam on Maths, Science and Language.&lt;/P&gt;&lt;P&gt;I am intending to join this table to other related tables though Student_ID field. Now my requirement is, I need a selection listbox named Exam having values as Maths, Science and Language. When I select Science, I expect the dashboard to refresh for all students who have appeared for Science exam. Same way if I select Maths and Science I expect the dashboard to refresh for all students who have appeared for Maths and Science.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how I can achieve this but as it seems to be a very basic requirement that many experts might have came across, I would request your sincere help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishnu &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 13:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488475#M182522</guid>
      <dc:creator>vishnus85</dc:creator>
      <dc:date>2013-09-05T13:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help me redesign a table for qlikview selections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488476#M182523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend using crossatble:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Students:&lt;/P&gt;&lt;P&gt;CrossTable(Subject, "Took Test?")&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[Student ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maths,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Science,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Language&lt;/P&gt;&lt;P&gt;FROM [Example.xlsx] (ooxml, embedded labels, table is Example);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also application attached.&amp;nbsp; It is a little different than you ask, I have Y/N so you can select also students who did not take test in the selected subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 16:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488476#M182523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-05T16:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help me redesign a table for qlikview selections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488477#M182524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest an IF Statement like:&lt;/P&gt;&lt;P&gt;If(Maths = 'Y', 'Math',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Science = 'Y', 'Science',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Language = 'Y', 'Language'))) as Exam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do this in the load script and it will give you what you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 16:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488477#M182524</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2013-09-05T16:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help me redesign a table for qlikview selections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488478#M182525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jpapador,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. But there is a small issue with that way of doing it.&amp;nbsp; There may be records where multiple subjects can have value as Y, in that case, this logic fails the purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 15:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488478#M182525</guid>
      <dc:creator>vishnus85</dc:creator>
      <dc:date>2013-09-06T15:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help me redesign a table for qlikview selections</title>
      <link>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488479#M182526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This help me in understanding the use of CrossTable function &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I used a different method to achieve my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I defined a table SUBJECT at the script side like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBJECT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Student ID]&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;'Maths' as Subject&lt;/P&gt;&lt;P&gt;From&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Example.xlsx] (ooxml, embedded labels, table is Example)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where Maths ='Y';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Student ID]&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;'Science' as Subject&lt;/P&gt;&lt;P&gt;From&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Example.xlsx] (ooxml, embedded labels, table is Example)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where Science='Y';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Student ID]&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;'Language' as Subject&lt;/P&gt;&lt;P&gt;From&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Example.xlsx] (ooxml, embedded labels, table is Example)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where Language='Y';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this SUBJECT table now contains [Student ID], Subject whose exams for which the student have appeared. So when this table is joined with other tables that uses&amp;nbsp; [Student ID] as unique key, then mu purpose is fulfilled and I can use the field 'Subject' for list box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same could be done from your table, by defining a new table that extracts only those records where [Took Test?] = Y !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 15:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-me-redesign-a-table-for-qlikview-selections/m-p/488479#M182526</guid>
      <dc:creator>vishnus85</dc:creator>
      <dc:date>2013-09-06T15:43:02Z</dc:date>
    </item>
  </channel>
</rss>

