<?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 to SUM values implied by current selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216375#M500068</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;I'm close to this I think but can't get the syntax right - hoping someone can help!&lt;/P&gt;&lt;P&gt;Say I have 3 list boxes:&lt;/P&gt;&lt;P&gt;1. Product&lt;BR /&gt;2. Colour&lt;BR /&gt;3. Size&lt;/P&gt;&lt;P&gt;If I select a particular &lt;B&gt;Product&lt;/B&gt; (e.g. Shoe123) I can see (in white) all the &lt;B&gt;Colours&lt;/B&gt; and &lt;B&gt;Sizes&lt;/B&gt; that product has been sold in. I can see the total sales for my selections with &lt;I&gt;&lt;B&gt;SUM(Sales&lt;/B&gt;&lt;/I&gt;&lt;B&gt;&lt;I&gt;)&lt;/I&gt;&lt;/B&gt;. What I want to see is the TOTAL sales for all the &lt;B&gt;Colours&lt;/B&gt; and &lt;B&gt;Sizes&lt;/B&gt; that Shoe123 has been sold in. This should be the same value as "selecting possible" from &lt;B&gt;Colour&lt;/B&gt; and &lt;B&gt;Size&lt;/B&gt; then deselecting &lt;B&gt;Product&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;Pretty sure I need to use the P() element function...I think!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2011 15:08:17 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2011-04-14T15:08:17Z</dc:date>
    <item>
      <title>Set analysis to SUM values implied by current selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216375#M500068</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;I'm close to this I think but can't get the syntax right - hoping someone can help!&lt;/P&gt;&lt;P&gt;Say I have 3 list boxes:&lt;/P&gt;&lt;P&gt;1. Product&lt;BR /&gt;2. Colour&lt;BR /&gt;3. Size&lt;/P&gt;&lt;P&gt;If I select a particular &lt;B&gt;Product&lt;/B&gt; (e.g. Shoe123) I can see (in white) all the &lt;B&gt;Colours&lt;/B&gt; and &lt;B&gt;Sizes&lt;/B&gt; that product has been sold in. I can see the total sales for my selections with &lt;I&gt;&lt;B&gt;SUM(Sales&lt;/B&gt;&lt;/I&gt;&lt;B&gt;&lt;I&gt;)&lt;/I&gt;&lt;/B&gt;. What I want to see is the TOTAL sales for all the &lt;B&gt;Colours&lt;/B&gt; and &lt;B&gt;Sizes&lt;/B&gt; that Shoe123 has been sold in. This should be the same value as "selecting possible" from &lt;B&gt;Colour&lt;/B&gt; and &lt;B&gt;Size&lt;/B&gt; then deselecting &lt;B&gt;Product&lt;/B&gt;.&lt;/P&gt;&lt;P&gt;Pretty sure I need to use the P() element function...I think!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216375#M500068</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-04-14T15:08:17Z</dc:date>
    </item>
    <item>
      <title>Set analysis to SUM values implied by current selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216376#M500069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;Yes you do! I had a play with it on the Developer 3 course but haven't really used it but what you have described is exactly what it can be used for. Also there is the E() function for selecting excluded records too.&lt;/P&gt;&lt;P&gt;I know that really doesn't solve your problem but I thought I'd give you a quick message to say you're on the right lines.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216376#M500069</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-04-14T15:30:33Z</dc:date>
    </item>
    <item>
      <title>Set analysis to SUM values implied by current selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216377#M500070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was also on the Dev III course and have been looking at the workbook. The problem is the examples deal with explicitly making a selection within the set expression P() to get the implicit values. I want to use the values implied by all the current selections.&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUM({$&amp;lt;Colour=(P()),Product=&amp;gt;} Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;and it's frustratingly &lt;I&gt;almost&lt;/I&gt; right... &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216377#M500070</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-04-14T15:41:53Z</dc:date>
    </item>
    <item>
      <title>Set analysis to SUM values implied by current selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216378#M500071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to work it out from the book as well funnily enough.&lt;/P&gt;&lt;P&gt;Maybe:&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;Colour=(P()), Product={'*'}&amp;gt;} Sales) * SUM({$&amp;lt;Size=(P()), Product={'*'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;The first bit for your possible colours and the second bit to combine it with the possible sizes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216378#M500071</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-04-14T15:52:24Z</dc:date>
    </item>
    <item>
      <title>Set analysis to SUM values implied by current selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216379#M500072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd think this (untested)?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;sum({&amp;lt;Product=,Colour=P(),Size=P()&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 01:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216379#M500072</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-15T01:31:18Z</dc:date>
    </item>
    <item>
      <title>Set analysis to SUM values implied by current selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216380#M500073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Late last night I solved it with the same answer. Actually I wanted to exclude all other selections so I used:&lt;/P&gt;&lt;P&gt;SUM({1&amp;lt;Colour=P(),Size=P()&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Thanks again all - this community is fantastic.&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 09:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-SUM-values-implied-by-current-selections/m-p/216380#M500073</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2011-04-15T09:18:27Z</dc:date>
    </item>
  </channel>
</rss>

