<?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: Set Analysis - consider selective filters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920376#M985128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. This works great&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 20:32:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-07T20:32:11Z</dc:date>
    <item>
      <title>Set Analysis - consider selective filters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920368#M985120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where I need to compare one company's score against the rest. The data looks as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;location&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;USA&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Score&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;location&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;USA&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Score&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;location&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Europe&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;C&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Score&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;D&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;location&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Europe&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;D&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Score&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User selects a company then he will see his company's score compared or bench marked against rest&lt;/P&gt;&lt;P&gt;I also want to give the user to benchmark a company's score against location. But in this case, when I choose company A, Europe is grayed out. But I need the user to choose his company and also benchmark it with whatever location he chooses (say, how is my company's score against all european companies)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I give user the option to select a company first, then choose the location ? Example app is attached with the post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be appreciated&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="94435" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94435_Capture.PNG" style="height: 376px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 15:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920368#M985120</guid>
      <dc:creator />
      <dc:date>2015-07-29T15:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - consider selective filters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920369#M985121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then you need to have the locations that you want to compare with in an island table or in the fact table but under different flag which is not linked to the company. This way you will be able to select a company and the locations will not be grey and there are no link between them and in the set analysis you will work on the comparison.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 15:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920369#M985121</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2015-07-29T15:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - consider selective filters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920370#M985122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please let me know how I can achieve the same? or perhaps point me to an example to&amp;nbsp; create an island table or fact table with a flag? I am new to data modeling here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 15:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920370#M985122</guid>
      <dc:creator />
      <dc:date>2015-07-29T15:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - consider selective filters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920371#M985123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help guys? I tried to modify the data model but unable to. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 20:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920371#M985123</guid>
      <dc:creator />
      <dc:date>2015-07-29T20:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - consider selective filters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920372#M985124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first of all i think you need to review your data model.&lt;/P&gt;&lt;P&gt;there are attributes on different lines that can be on the same line.&lt;/P&gt;&lt;P&gt;for example in your data model you are loading the data as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Company,Question, Answer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, Score, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, location, USA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however this is the same company but you are distributing the line and score on two different lines. what i would do is either to have them on the same line like the table will be Company, Location, Question, Answer or you will have this table having Company, Question, Answer and link it to another table in your model where you will have Company and Location fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let's start with that first and then we can move forward, with this data model it will be too complex to achieve what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 07:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920372#M985124</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2015-07-30T07:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - consider selective filters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920373#M985125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@maleka Thanks for your reply. The results are from a survey and I cannot change the underlying model. I need to work with this model and transform this table structure. Any ideas how I can start?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 12:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920373#M985125</guid>
      <dc:creator />
      <dc:date>2015-07-30T12:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - consider selective filters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920374#M985126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you mean that you cannot change the source data. This will transform the source data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source:&lt;/P&gt;&lt;P&gt;LOAD Company, Question, Answer&lt;/P&gt;&lt;P&gt;From Source.txt (.....);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Results:&lt;/P&gt;&lt;P&gt;LOAD Company, Answer As Location&lt;/P&gt;&lt;P&gt;Resident Source&lt;/P&gt;&lt;P&gt;Where Question = 'location';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (Results)&lt;/P&gt;&lt;P&gt;LOAD Company, Answer As Score&lt;/P&gt;&lt;P&gt;Resident Source&lt;/P&gt;&lt;P&gt;Where Question = 'Score';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Source;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have a table with the fields Company, Location and Score.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 12:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920374#M985126</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-30T12:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - consider selective filters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920375#M985127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now to compare the selected company with a selection that might conflict (eg compare company A with location Europe), you need to use Alternate states. As an example, add a state 'Compare' to the qvw, create a another list box for Location and assign it to the state 'Compare', and then use this expression to get the benchmark average:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Avg({Compare} Score)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search this site for more information on using alternate states.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 12:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920375#M985127</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-07-30T12:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - consider selective filters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920376#M985128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much. This works great&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 20:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-consider-selective-filters/m-p/920376#M985128</guid>
      <dc:creator />
      <dc:date>2015-08-07T20:32:11Z</dc:date>
    </item>
  </channel>
</rss>

