<?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 Excluding and including data for an aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306328#M1200516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;P.Schmerbach wrote:Is there a way to make objects inside a dashboard "independent", so they will only be effected by some, not all selections. In my case I want that all selections will be ignored except the company dimension.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;There are ways to keep your values agains the whole data. If TOTAL gets all values in expression, set {1} means all values in dimension, so combined should return what you want regardless the selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(Sales) / Sum({1} TOTAL Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Feb 2011 16:23:48 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-02-16T16:23:48Z</dc:date>
    <item>
      <title>Excluding and including data for an aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306325#M1200510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;I'm trying to work out a pretty easy formula for a pretty easy value:&lt;/P&gt;&lt;P&gt;I have a company dimension, which holds legal entities with their respective groups:&lt;/P&gt;&lt;P&gt;example: Group 1 belongs to 3 entities - the whole information is saved in one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem:&lt;/P&gt;&lt;P&gt;I want to build something like a gauge-based KPI - which shows the actual summarized year sales amount for the selected lega entity in relation to it's groups sales amount:&lt;/P&gt;&lt;P&gt;SUM(Selected Entity Sales Amount)/(SUM(Group Sales Amount of selected entity)/COUNT(entites of group)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 13:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306325#M1200510</guid>
      <dc:creator />
      <dc:date>2011-02-16T13:16:21Z</dc:date>
    </item>
    <item>
      <title>Excluding and including data for an aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306326#M1200512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Have you tried using TOTAL &amp;lt;Field&amp;gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(Amount) / Sum(TOTAL &amp;lt;EntityID&amp;gt; Amount)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 13:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306326#M1200512</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-16T13:45:44Z</dc:date>
    </item>
    <item>
      <title>Excluding and including data for an aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306327#M1200514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried TOTAL as well but it didn't turn out as what I wanted it to be &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's looks like TOTAL is also affected by the selection in the field list, as it allways shows me 100%.&lt;/P&gt;&lt;P&gt;But that's not what I want it to show.&lt;/P&gt;&lt;P&gt;I want it to compare the Sales Amount of the selected Entity with the avg sales amount for the whole group, where 100% is ok, 75% is bad and 100+% is good, by now the scale is all I could manage &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way to make objects inside a dashboard "independent", so they will only be effected by some, not all selections. In my case I want that all selections will be ignored except the company dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 14:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306327#M1200514</guid>
      <dc:creator />
      <dc:date>2011-02-16T14:06:35Z</dc:date>
    </item>
    <item>
      <title>Excluding and including data for an aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306328#M1200516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;P.Schmerbach wrote:Is there a way to make objects inside a dashboard "independent", so they will only be effected by some, not all selections. In my case I want that all selections will be ignored except the company dimension.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;There are ways to keep your values agains the whole data. If TOTAL gets all values in expression, set {1} means all values in dimension, so combined should return what you want regardless the selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(Sales) / Sum({1} TOTAL Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 16:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306328#M1200516</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-16T16:23:48Z</dc:date>
    </item>
    <item>
      <title>Excluding and including data for an aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306329#M1200517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your suggestion will give me the overall total sales summarized... but thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;By now I found a solution for my problem... it's really hard implementing some "easy" business logic steps into this nice point &amp;amp; click adventure &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My solution looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(((SUM({1&amp;lt;Client=P({$&amp;lt;Client&amp;gt;} )&amp;gt;} Umsatz)-Sum(Umsatz))&amp;lt;&amp;gt;0),Sum(Umsatz)/((SUM({1&amp;lt;Client=P({$&amp;lt;Client&amp;gt;} )&amp;gt;} Umsatz)-Sum(Umsatz))/COUNT(TOTAL CompanyKey &lt;P&gt;)), 0)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 17:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-and-including-data-for-an-aggregation/m-p/306329#M1200517</guid>
      <dc:creator />
      <dc:date>2011-02-16T17:35:35Z</dc:date>
    </item>
  </channel>
</rss>

