<?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: Calculate column total instead of using expression total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858414#M999454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked perfectly! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 17:56:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-09T17:56:17Z</dc:date>
    <item>
      <title>Calculate column total instead of using expression total</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858411#M999449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a QV file that has a straight table that I'm using to keep track of the target attendees we've met at conferences. One column lists the "Target Attendees", one column lists the salesperson that met the attendee and the last column sums up the "Total people met" at the conference (in my excel, next to each attendee I have a 1 if we met them or a 0 if we ended up not meeting them). If two different sales people met the same attendee, I don't want it to count that attendee twice, thus inflating my total for "Total People Met". I would like to calculate the total that is displayed by not adding up all the 1's, but only by adding a single "1" per attendee and excluding all the 0's (so I can't use Count (Attendees)). Can you calculate a total rather than using an expression total or a count of rows? And do you know of an expression I can use that will sum or count the attendees the way I described? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I want: &lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Salesperson&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Target Attendee&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Total People Met&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;(Total) 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Jason&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Bob L.&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Jack&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Bob L.&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Jill&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jaime H.&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Amy&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Carol P.&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Max&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;George S. &lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 16:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858411#M999449</guid>
      <dc:creator />
      <dc:date>2015-06-09T16:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate column total instead of using expression total</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858412#M999451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Total People Met] = {1}&amp;gt;} DISTINCT [Target Attendee])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 16:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858412#M999451</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-09T16:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate column total instead of using expression total</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858413#M999453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the concept of dimensionality:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Dimensionality() = 0,Sum(Aggr([Total People Met], [Target Attendee])), Sum([Total People Met]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 16:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858413#M999453</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-09T16:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate column total instead of using expression total</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858414#M999454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked perfectly! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 17:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858414#M999454</guid>
      <dc:creator />
      <dc:date>2015-06-09T17:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate column total instead of using expression total</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858415#M999455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 17:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-column-total-instead-of-using-expression-total/m-p/858415#M999455</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-09T17:59:52Z</dc:date>
    </item>
  </channel>
</rss>

