<?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 Sum Expression that exclude partial active selection. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-Expression-that-exclude-partial-active-selection/m-p/237469#M88524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Nov 2009 23:18:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-10T23:18:55Z</dc:date>
    <item>
      <title>Sum Expression that exclude partial active selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Expression-that-exclude-partial-active-selection/m-p/237467#M88522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody&lt;/P&gt;&lt;P&gt;I create 2 gauge graph to display turnover of our business agent by quarter.&lt;/P&gt;&lt;P&gt;I generally select the year, the quarter and salesman. Now in the first graph I show the selected quarter, in the other I want to display the sum of all available quarter in the year for that salesman.&lt;/P&gt;&lt;P&gt;For example, let's consider 2009, now we are in the fourth quarter. If I select Q4 and John as agent, the first graph show the sum of this period for John, but the second gauge must show the sum of all quarter, indipendent of the active quarter selection.&lt;/P&gt;&lt;P&gt;My problem is the second gauge, How Can I obtained this sum without consider quarter?&lt;/P&gt;&lt;P&gt;This is the code I use, where N indicates "credit Note", to sum turnover&lt;/P&gt;&lt;P&gt;&lt;B&gt;sum&lt;/B&gt;(&lt;B&gt;If&lt;/B&gt;(&lt;B&gt;[Tipo Doc.]&lt;/B&gt;='N',&lt;B&gt;Netto&lt;/B&gt;*-1,&lt;B&gt;Netto&lt;/B&gt;*1))&lt;/P&gt;&lt;P&gt;I tried to put "1" before "If" but it excludes all selections and this is not what I need, I need to exclude only quarter selection.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 23:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Expression-that-exclude-partial-active-selection/m-p/237467#M88522</guid>
      <dc:creator />
      <dc:date>2009-11-10T23:00:38Z</dc:date>
    </item>
    <item>
      <title>Sum Expression that exclude partial active selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Expression-that-exclude-partial-active-selection/m-p/237468#M88523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum({&amp;lt;Quarter=&amp;gt;} If([Tipo Doc.]='N',Netto*-1,Netto*1))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 23:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Expression-that-exclude-partial-active-selection/m-p/237468#M88523</guid>
      <dc:creator />
      <dc:date>2009-11-10T23:05:55Z</dc:date>
    </item>
    <item>
      <title>Sum Expression that exclude partial active selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Expression-that-exclude-partial-active-selection/m-p/237469#M88524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2009 23:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Expression-that-exclude-partial-active-selection/m-p/237469#M88524</guid>
      <dc:creator />
      <dc:date>2009-11-10T23:18:55Z</dc:date>
    </item>
  </channel>
</rss>

