<?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 Total minus selected count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-minus-selected-count/m-p/1197389#M880927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to add an object to count total minus selected values you can see highlighted in yellow in the "Current Selection" object for the field "Siti.COD_STRUMENTO_PDR":&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/140624_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the total is 158999 and 158967 is the total of selected values, so the number i'd like to have in the new object is 32 (with or without the two totals, even the simple result of the substraction is perfect):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;158999 -&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;158967 =&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me? N.B. I can't work on the scritp and i can't upload the file because i'm using a shared document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Andrea&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>qv_bazz_10</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Total minus selected count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-minus-selected-count/m-p/1197389#M880927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to add an object to count total minus selected values you can see highlighted in yellow in the "Current Selection" object for the field "Siti.COD_STRUMENTO_PDR":&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/140624_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the total is 158999 and 158967 is the total of selected values, so the number i'd like to have in the new object is 32 (with or without the two totals, even the simple result of the substraction is perfect):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;158999 -&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;158967 =&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me? N.B. I can't work on the scritp and i can't upload the file because i'm using a shared document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Andrea&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-minus-selected-count/m-p/1197389#M880927</guid>
      <dc:creator>qv_bazz_10</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Total minus selected count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-minus-selected-count/m-p/1197390#M880928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this in a text box object&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;Count(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; Siti.COD_STRUMENTO_PDR) - Count(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Siti.COD_STRUMENTO_PDR)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 16:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-minus-selected-count/m-p/1197390#M880928</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-14T16:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Total minus selected count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-minus-selected-count/m-p/1197391#M880929</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;Sum(total field) - sum({1&amp;lt;field = {$(=getfieldvalues(field))}&amp;gt;}field)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 17:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-minus-selected-count/m-p/1197391#M880929</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-14T17:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Total minus selected count</title>
      <link>https://community.qlik.com/t5/QlikView/Total-minus-selected-count/m-p/1197392#M880930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Sunny and Anil: i tried both your expressions but i didn't get the result i was searching for. Anyway, triyng them, I found the solution with the function "GetExcludedCount":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=GetExcludedCount (Siti.COD_STRUMENTO_PDR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 07:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-minus-selected-count/m-p/1197392#M880930</guid>
      <dc:creator>qv_bazz_10</dc:creator>
      <dc:date>2016-10-17T07:29:03Z</dc:date>
    </item>
  </channel>
</rss>

