<?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 question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162723#M36128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay I tried it again and somehow it works, even when I do not have the product group selected..... Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Nov 2009 00:01:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-24T00:01:17Z</dc:date>
    <item>
      <title>set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162718#M36123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;Let's say I have two list boxes: product group, and product.&lt;/P&gt;&lt;P&gt;product group product&lt;/P&gt;&lt;P&gt;group1 product1&lt;/P&gt;&lt;P&gt;group1 product 2&lt;/P&gt;&lt;P&gt;group2 product3&lt;/P&gt;&lt;P&gt;group2 product4 and so on.&lt;/P&gt;&lt;P&gt;What I am trying to do is this:&lt;/P&gt;&lt;P&gt;If I select group1, I want to show product1, product 2 sales, each as percent of group1.&lt;/P&gt;&lt;P&gt;So if proudct1 sale is 100, and product sale is 400, then they would show as 20%, 80% respectively. This part is pretty easy. I can have something like sum(sales)/ sum( total [product group] sales) or something to that effect.&lt;/P&gt;&lt;P&gt;However, I also want the calculation to work when the user selects the products, not proudct group. So for example, if the user select product2 (and nothing selected in product group), I want the chart to show 80%.&lt;/P&gt;&lt;P&gt;What would be the best way to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 22:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162718#M36123</guid>
      <dc:creator />
      <dc:date>2009-11-23T22:36:23Z</dc:date>
    </item>
    <item>
      <title>set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162719#M36124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(Sales)/Sum({1} TOTAL &amp;lt;Group&amp;gt; Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The denominator will get you the total sales per group regardless of selection. QlikView's normal selection functionality should take care of the rest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 23:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162719#M36124</guid>
      <dc:creator />
      <dc:date>2009-11-23T23:13:22Z</dc:date>
    </item>
    <item>
      <title>set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162720#M36125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it and it does not work. How does the expression know which Group to total over, if I am selecting only from the Product list?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 23:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162720#M36125</guid>
      <dc:creator />
      <dc:date>2009-11-23T23:26:12Z</dc:date>
    </item>
    <item>
      <title>set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162721#M36126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assumed you had a chart with Groups listed. How would you know which Group it should total over?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 23:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162721#M36126</guid>
      <dc:creator />
      <dc:date>2009-11-23T23:37:03Z</dc:date>
    </item>
    <item>
      <title>set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162722#M36127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, that is the tricky part I was trying to achieve. What I was trying to figure out how to achieve this if the user select only the product, not the group. I was trying to come up with a set analysis which would figure out which group to sum over, because there is a data relationship between the product and the product group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 23:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162722#M36127</guid>
      <dc:creator />
      <dc:date>2009-11-23T23:49:33Z</dc:date>
    </item>
    <item>
      <title>set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162723#M36128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay I tried it again and somehow it works, even when I do not have the product group selected..... Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 00:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/162723#M36128</guid>
      <dc:creator />
      <dc:date>2009-11-24T00:01:17Z</dc:date>
    </item>
  </channel>
</rss>

