<?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 Set Analysis: Select All but Update Based on Selection of Another Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Select-All-but-Update-Based-on-Selection-of-Another/m-p/737628#M474145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do an analysis to show the depth of sales based on a particular product across the sales for and across region. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used set analysis to create a bar chart that shows number of bankers who have sold a product name compared to total banker population, split by region, using a bar chart with region as dimension and an expression of: &lt;/P&gt;&lt;P&gt;Expression 1: Count(DISTINCT {$} BANKER) / COUNT (DISTINCT {1} BANKER)&lt;/P&gt;&lt;P&gt;Expression 2: 1-Expression 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result of this is a 100% stacked bar that shows how much of a product has been sold by a banker, when the user searches PRODUCT for any product e.g. ACME Company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine for analysis across all regions, but when I want to apply an additional filter to narrow down to one or two regions e.g. Select REGION = EMEA, I get a bar with 100% values for the regions I have not selected (I would want these to disappear as I have focused on EMEA. Presumably this is the impact of the {1} in the set analysis. I want to limit the content of the 'ALL' to the regions selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume there is a modification to the set analysis for current selection based on another variable REGION but I cannot find the correct syntax anywhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2014 14:44:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-01T14:44:09Z</dc:date>
    <item>
      <title>Set Analysis: Select All but Update Based on Selection of Another Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Select-All-but-Update-Based-on-Selection-of-Another/m-p/737628#M474145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do an analysis to show the depth of sales based on a particular product across the sales for and across region. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used set analysis to create a bar chart that shows number of bankers who have sold a product name compared to total banker population, split by region, using a bar chart with region as dimension and an expression of: &lt;/P&gt;&lt;P&gt;Expression 1: Count(DISTINCT {$} BANKER) / COUNT (DISTINCT {1} BANKER)&lt;/P&gt;&lt;P&gt;Expression 2: 1-Expression 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result of this is a 100% stacked bar that shows how much of a product has been sold by a banker, when the user searches PRODUCT for any product e.g. ACME Company.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine for analysis across all regions, but when I want to apply an additional filter to narrow down to one or two regions e.g. Select REGION = EMEA, I get a bar with 100% values for the regions I have not selected (I would want these to disappear as I have focused on EMEA. Presumably this is the impact of the {1} in the set analysis. I want to limit the content of the 'ALL' to the regions selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume there is a modification to the set analysis for current selection based on another variable REGION but I cannot find the correct syntax anywhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 14:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Select-All-but-Update-Based-on-Selection-of-Another/m-p/737628#M474145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-01T14:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Select All but Update Based on Selection of Another Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Select-All-but-Update-Based-on-Selection-of-Another/m-p/737629#M474146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to modify Expression 1:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count(DISTINCT {$} BANKER) / COUNT (DISTINCT {1&lt;STRONG&gt;&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;REGION=$::&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;REGION&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&lt;/STRONG&gt;} BANKER)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 14:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Select-All-but-Update-Based-on-Selection-of-Another/m-p/737629#M474146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-01T14:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Select All but Update Based on Selection of Another Field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Select-All-but-Update-Based-on-Selection-of-Another/m-p/737630#M474147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent - works perfectly. Thanks - this will be a massive help in what I am working on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 15:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Select-All-but-Update-Based-on-Selection-of-Another/m-p/737630#M474147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-01T15:01:23Z</dc:date>
    </item>
  </channel>
</rss>

