<?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: Total and filters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866900#M303252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! thanks!&lt;/P&gt;&lt;P&gt;And if the COD of the variable has the same situation:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="v1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83028_v1.JPG" style="height: 389px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;What is the code for the variable vSumT9937302 to show always the total?&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 10:46:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-07T10:46:06Z</dc:date>
    <item>
      <title>Total and filters</title>
      <link>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866898#M303250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hello!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;that is my table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG __jive_id="83022" alt="t1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83022_t1.JPG" style="height: 361px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I need to obtain the total I've put in field "R_T" as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;If(COD=9937199,Sum({&amp;lt;COD={9937199},TIME=&amp;gt;}AD)-vSumT9937302,&lt;/P&gt;
&lt;P&gt;if(COD=9937072,Sum({&amp;lt;COD={9937072},TIME=&amp;gt;}IN),Sum({&amp;lt;TIME=&amp;gt;}AD)))&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&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;And R:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;If(COD=9937199,Sum({&amp;lt;COD={9937199}&amp;gt;}AD)-vSum9937302,&lt;/P&gt;
&lt;P&gt;if(COD=9937072,sum(IN),sum(AD)))&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;&lt;STRONG&gt;My variable:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;&lt;STRONG&gt;vSumT9937302&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;=Sum({&amp;lt;COD={9937302},TIME=&amp;gt;}AD)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;&lt;STRONG&gt;vSum9937302=Sum({&amp;lt;COD={9937302}&amp;gt;}AD)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In R gets all filters and R_T not take the filter TIME because I want the total always displayed.&lt;/P&gt;&lt;P&gt;The problem is that when a COD&amp;nbsp; does not have data in TIME, in this case,&amp;nbsp; COD 9937072 does not have data in TIME "3"&amp;nbsp; so when I filter TIME 3 does not give the total correctly.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="83023" alt="t2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/83023_t2.JPG" style="height: 385px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I can fix that? I want to see total every time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached file. Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 09:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866898#M303250</guid>
      <dc:creator />
      <dc:date>2015-04-07T09:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Total and filters</title>
      <link>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866899#M303251</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 fixed it. See expression R_T2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 10:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866899#M303251</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-07T10:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Total and filters</title>
      <link>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866900#M303252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! thanks!&lt;/P&gt;&lt;P&gt;And if the COD of the variable has the same situation:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="v1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/83028_v1.JPG" style="height: 389px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;What is the code for the variable vSumT9937302 to show always the total?&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 10:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866900#M303252</guid>
      <dc:creator />
      <dc:date>2015-04-07T10:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Total and filters</title>
      <link>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866901#M303253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I see we exclude TIME in the Set Analysis. So vSumT9937302 always ignores selection on TIME.&lt;/P&gt;&lt;P&gt;Or I didn't get your question...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 10:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866901#M303253</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-07T10:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Total and filters</title>
      <link>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866902#M303254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right! Everything it's ok. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 11:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-and-filters/m-p/866902#M303254</guid>
      <dc:creator />
      <dc:date>2015-04-07T11:22:31Z</dc:date>
    </item>
  </channel>
</rss>

