<?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: Current selection but include all for one field in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786001#M278055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use relative button and that's perfect, if no selection has been made on supplier. But if I select supplier A, I would still like it to count the relation of ALL suppliers... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 09:50:31 GMT</pubDate>
    <dc:creator>annabergendal</dc:creator>
    <dc:date>2014-11-20T09:50:31Z</dc:date>
    <item>
      <title>Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/785997#M278051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel quite stupid, I am sure this is piece of cake...&lt;/P&gt;&lt;P&gt;I have a straight table where I want average sum of sales for each supplier.&lt;/P&gt;&lt;P&gt;So for supplier A it should say 0,14 (100/700), supplier B 0,29 (200/700) etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How should I write my set analysis expression if I want current selection (in the real app I want selections to be included, except for the field supplier where it should calculate on all)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 09:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/785997#M278051</guid>
      <dc:creator>annabergendal</dc:creator>
      <dc:date>2014-11-20T09:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/785998#M278052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Avg&lt;/STRONG&gt;(Sales) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 09:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/785998#M278052</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-11-20T09:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/785999#M278053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(Sales) / Sum (Total Sales) will give you their relative % of the overall total. You could also use Sum(Sales) and tick the relative checkbox next to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 09:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/785999#M278053</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2014-11-20T09:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786000#M278054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Sales)/Sum(TOTAL Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 09:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786000#M278054</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2014-11-20T09:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786001#M278055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use relative button and that's perfect, if no selection has been made on supplier. But if I select supplier A, I would still like it to count the relation of ALL suppliers... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 09:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786001#M278055</guid>
      <dc:creator>annabergendal</dc:creator>
      <dc:date>2014-11-20T09:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786002#M278056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Sales)/Sum(TOTAL{&amp;lt;Supplier=&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and don't select relative option .&lt;/P&gt;&lt;P&gt;select Show in Percent from Number&amp;nbsp; Tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" height="301" src="https://community.qlik.com/legacyfs/online/71718_pastedImage_0.png" style="width: 344px; height: 300.723px;" width="344" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 09:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786002#M278056</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2014-11-20T09:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786003#M278057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Sales) / Sum ( &lt;STRONG&gt;ALL&lt;/STRONG&gt; Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // if you want to ignore all other selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 10:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786003#M278057</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-11-20T10:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786004#M278058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Sales)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum(ALL Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Equivalent sintax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Sales)/sum({1}TOTAL Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 10:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786004#M278058</guid>
      <dc:creator />
      <dc:date>2014-11-20T10:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786005#M278059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the content 'set analysis' in Qlik guide contents for more details &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 10:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786005#M278059</guid>
      <dc:creator />
      <dc:date>2014-11-20T10:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786006#M278060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check directly to your file if you want&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 10:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786006#M278060</guid>
      <dc:creator />
      <dc:date>2014-11-20T10:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Current selection but include all for one field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786007#M278061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! This did the job! Now the calculation is made on current selection, but for supplier where it includes all. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 13:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-selection-but-include-all-for-one-field-in-Set-Analysis/m-p/786007#M278061</guid>
      <dc:creator>annabergendal</dc:creator>
      <dc:date>2014-11-20T13:57:37Z</dc:date>
    </item>
  </channel>
</rss>

