<?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: % of Total that does not change with selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082696#M464168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the reason your % age was changing was because as soon as your made a selection your denominator was also getting filtered based on the selection. Since you don't want the denominator to change, you just need to add {1} to tell it to avoid any selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if you only want certain selections to be avoided (while still getting filtered on other selections) you need to specify the names of those fields which should not be filtered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;Field1, Field2, Field4&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the other hand if you have a long list of fields on which it should not filter a few fields on which it should filter, you can do like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{1&amp;lt;Field3 = $::Field3&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2016 16:01:24 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-05T16:01:24Z</dc:date>
    <item>
      <title>% of Total that does not change with selections</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082689#M464161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have wondered this a few times... what is the easiest way to display the percentage of a total statically so that when I make a selection, it still reflects the percentage&amp;nbsp; of the total, and not the percentage of the volume I have selected? &lt;/P&gt;&lt;P&gt;Pre Selection:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/123669_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post Selection:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/123670_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 13:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082689#M464161</guid>
      <dc:creator>MalcolmCICWF</dc:creator>
      <dc:date>2016-05-05T13:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total that does not change with selections</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082690#M464162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(amount)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum(total amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in percent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 13:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082690#M464162</guid>
      <dc:creator>florentina_doga</dc:creator>
      <dc:date>2016-05-05T13:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total that does not change with selections</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082691#M464163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expression you are using? Assuming it is Count(Account) with relative option checked, you can change it to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(Account)/Count({1} &lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; Account) &lt;/STRONG&gt;-&amp;gt; With relative unchecked now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if you want to only let the denominator not change on certain dimensions, you can do like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Count(Account)/Count({&amp;lt;Year&amp;gt;} &lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; Account) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;-&amp;gt; With relative unchecked now&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;UPDATE: Forgot to add &lt;STRONG style="color: #ff0000;"&gt;TOTAL&lt;/STRONG&gt; which is not added&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 13:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082691#M464163</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-05T13:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total that does not change with selections</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082692#M464164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using that, not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 14:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082692#M464164</guid>
      <dc:creator>MalcolmCICWF</dc:creator>
      <dc:date>2016-05-05T14:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total that does not change with selections</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082693#M464165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I am using and no matter what, when I select criteria, it changes to % of what is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(ID_COUNT)/Sum(Total ID_COUNT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 14:43:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082693#M464165</guid>
      <dc:creator>MalcolmCICWF</dc:creator>
      <dc:date>2016-05-05T14:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total that does not change with selections</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082694#M464166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum(ID_COUNT)/Sum(TOTAL &lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; ID_COUNT)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 14:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082694#M464166</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-05T14:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total that does not change with selections</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082695#M464167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are like my Qlik guardian angel lately Sunny, which I appreciate. Are you able to explain the use of the {1} within this expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 15:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082695#M464167</guid>
      <dc:creator>MalcolmCICWF</dc:creator>
      <dc:date>2016-05-05T15:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total that does not change with selections</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082696#M464168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the reason your % age was changing was because as soon as your made a selection your denominator was also getting filtered based on the selection. Since you don't want the denominator to change, you just need to add {1} to tell it to avoid any selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if you only want certain selections to be avoided (while still getting filtered on other selections) you need to specify the names of those fields which should not be filtered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;Field1, Field2, Field4&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the other hand if you have a long list of fields on which it should not filter a few fields on which it should filter, you can do like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{1&amp;lt;Field3 = $::Field3&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 16:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082696#M464168</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-05T16:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total that does not change with selections</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082697#M464169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, very informative&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 18:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082697#M464169</guid>
      <dc:creator>MalcolmCICWF</dc:creator>
      <dc:date>2016-05-05T18:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: % of Total that does not change with selections</title>
      <link>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082698#M464170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at 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, 05 May 2016 18:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/of-Total-that-does-not-change-with-selections/m-p/1082698#M464170</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-05T18:33:28Z</dc:date>
    </item>
  </channel>
</rss>

