<?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 Limiting data in one list (chart) based on values in a second in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-one-list-chart-based-on-values-in-a-second/m-p/765196#M471792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have two groups of students and their sporting interests.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select a value from School A, I serve up their interests.&amp;nbsp;&amp;nbsp; In this case, Bob is interested in 4 sports.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bob matches to many students on anywhere from 1 to 4 sports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In School B, it turns out that Bob has 6 matches from the other school (they match on one of Bob's sports) and their sports interests include 10 sports.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q:&amp;nbsp; How can I limit the rows in the second object based on matching to to A_Sport?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This way, I can ask Bob what sports he's REALLY interested in and serve up the corresponding matching students&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;___________________________________________________________________________________________________&lt;/P&gt;&lt;P&gt;ps:&lt;/P&gt;&lt;P&gt; I am keeping the variable names as A_Sport and B_Sport to prevent loops in the data model&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; I've tried =if(match and other expresions and am having no luck&lt;/P&gt;&lt;P&gt; Right now I can sort Bob's sports to the top of the second list but I'm also including ALL the other sports from students at School B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart In Qlikview:&lt;/P&gt;&lt;P&gt;A_ID, A_Sport&lt;/P&gt;&lt;P&gt;Bob,Football&lt;/P&gt;&lt;P&gt;Bob,Basketball&lt;/P&gt;&lt;P&gt;Bob,Tennis&lt;/P&gt;&lt;P&gt;Bob,Cricket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart or List in Qlikview:&lt;/P&gt;&lt;P&gt;B_ID,B_Sport&lt;/P&gt;&lt;P&gt;Sally, Swimming&lt;/P&gt;&lt;P&gt;Tony, Tennis&lt;/P&gt;&lt;P&gt;Tony,Cricket&lt;/P&gt;&lt;P&gt;Alex,Bowling&lt;/P&gt;&lt;P&gt;Alex,Football&lt;/P&gt;&lt;P&gt;Alex,Chess&lt;/P&gt;&lt;P&gt;Alex,Racing&lt;/P&gt;&lt;P&gt;Alex,Shotput&lt;/P&gt;&lt;P&gt;Mary, Badminton&lt;/P&gt;&lt;P&gt;Mary,Basketball&lt;/P&gt;&lt;P&gt;Mary, Tennis&lt;/P&gt;&lt;P&gt;Mary,Swimming&lt;/P&gt;&lt;P&gt;Jet,lawn bowls&lt;/P&gt;&lt;P&gt;Jet,Bowling&lt;/P&gt;&lt;P&gt;Jet,Cricket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2015 20:07:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-20T20:07:06Z</dc:date>
    <item>
      <title>Limiting data in one list (chart) based on values in a second</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-one-list-chart-based-on-values-in-a-second/m-p/765196#M471792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have two groups of students and their sporting interests.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select a value from School A, I serve up their interests.&amp;nbsp;&amp;nbsp; In this case, Bob is interested in 4 sports.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bob matches to many students on anywhere from 1 to 4 sports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In School B, it turns out that Bob has 6 matches from the other school (they match on one of Bob's sports) and their sports interests include 10 sports.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q:&amp;nbsp; How can I limit the rows in the second object based on matching to to A_Sport?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This way, I can ask Bob what sports he's REALLY interested in and serve up the corresponding matching students&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;___________________________________________________________________________________________________&lt;/P&gt;&lt;P&gt;ps:&lt;/P&gt;&lt;P&gt; I am keeping the variable names as A_Sport and B_Sport to prevent loops in the data model&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; I've tried =if(match and other expresions and am having no luck&lt;/P&gt;&lt;P&gt; Right now I can sort Bob's sports to the top of the second list but I'm also including ALL the other sports from students at School B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart In Qlikview:&lt;/P&gt;&lt;P&gt;A_ID, A_Sport&lt;/P&gt;&lt;P&gt;Bob,Football&lt;/P&gt;&lt;P&gt;Bob,Basketball&lt;/P&gt;&lt;P&gt;Bob,Tennis&lt;/P&gt;&lt;P&gt;Bob,Cricket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart or List in Qlikview:&lt;/P&gt;&lt;P&gt;B_ID,B_Sport&lt;/P&gt;&lt;P&gt;Sally, Swimming&lt;/P&gt;&lt;P&gt;Tony, Tennis&lt;/P&gt;&lt;P&gt;Tony,Cricket&lt;/P&gt;&lt;P&gt;Alex,Bowling&lt;/P&gt;&lt;P&gt;Alex,Football&lt;/P&gt;&lt;P&gt;Alex,Chess&lt;/P&gt;&lt;P&gt;Alex,Racing&lt;/P&gt;&lt;P&gt;Alex,Shotput&lt;/P&gt;&lt;P&gt;Mary, Badminton&lt;/P&gt;&lt;P&gt;Mary,Basketball&lt;/P&gt;&lt;P&gt;Mary, Tennis&lt;/P&gt;&lt;P&gt;Mary,Swimming&lt;/P&gt;&lt;P&gt;Jet,lawn bowls&lt;/P&gt;&lt;P&gt;Jet,Bowling&lt;/P&gt;&lt;P&gt;Jet,Cricket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 20:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-data-in-one-list-chart-based-on-values-in-a-second/m-p/765196#M471792</guid>
      <dc:creator />
      <dc:date>2015-02-20T20:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting data in one list (chart) based on values in a second</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-one-list-chart-based-on-values-in-a-second/m-p/765197#M471793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I got your request right - simply rename A_Sport and B_Sport to the same name, e.g. Sport.&amp;nbsp; The rest QV will do for you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 20:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-data-in-one-list-chart-based-on-values-in-a-second/m-p/765197#M471793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-20T20:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting data in one list (chart) based on values in a second</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-one-list-chart-based-on-values-in-a-second/m-p/765198#M471794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I understand that.   Challenge I’m getting is a circular loop in loading my model .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve been trying expressions such as  =if(match, A_Sport, B_Sport) and using it as a conditional view in presentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 21:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-data-in-one-list-chart-based-on-values-in-a-second/m-p/765198#M471794</guid>
      <dc:creator />
      <dc:date>2015-02-20T21:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting data in one list (chart) based on values in a second</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-one-list-chart-based-on-values-in-a-second/m-p/765199#M471795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload a sample of your application?&amp;nbsp; Otherwise its impossible to guess...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 21:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-data-in-one-list-chart-based-on-values-in-a-second/m-p/765199#M471795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-20T21:22:44Z</dc:date>
    </item>
  </channel>
</rss>

