<?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: To Use AGGR or TOTAL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291328#M849078</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($*Multiplier)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Mar 2017 16:22:56 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-15T16:22:56Z</dc:date>
    <item>
      <title>To Use AGGR or TOTAL</title>
      <link>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291327#M849077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have a set of data as below.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="240" style="width: 751px; height: 214px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" width="93"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sales No.&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" width="101"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Salesperson&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" width="96"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Product name&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" width="64"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" width="64"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Multiplier&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" width="85"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ aft multiplier&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;&lt;SPAN style="font-size: 10pt;"&gt;3505&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;SPAN style="font-size: 10pt;"&gt;aa&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;hearts&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;&lt;SPAN style="font-size: 10pt;"&gt;3,570&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,570 &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;7417&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;SPAN style="font-size: 10pt;"&gt;aa&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;spade&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;16,784&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2.5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 41,960 &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;8279&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;SPAN style="font-size: 10pt;"&gt;aa&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;spade&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;3,602&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2.5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9,004 &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;9794&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;SPAN style="font-size: 10pt;"&gt;aa&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;hearts&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;3,397&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,397 &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;6541&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;SPAN style="font-size: 10pt;"&gt;bb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;spade&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;3,005&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2.5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7,511 &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1800&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;SPAN style="font-size: 10pt;"&gt;bb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;hearts&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;3,803&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,803 &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1824&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;SPAN style="font-size: 10pt;"&gt;bb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;hearts&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;3,878&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,878 &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1325&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;SPAN style="font-size: 10pt;"&gt;cc&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;hearts&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;6,879&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6,879 &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17"&gt;&lt;SPAN style="font-size: 10pt;"&gt;3427&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;SPAN style="font-size: 10pt;"&gt;cc&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;spade&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;7,261&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2.5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18,153 &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to show the above in a pivot table in a chart of each salesperson the total sales they have done after the multiplier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="124" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 291px; height: 126px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;" width="93"&gt;Salesperson&lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;" width="101"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $aft multiplier&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;aa&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 57,931.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;bb&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15,192.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;cc&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25,031.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using AGGR funtion and TOTAL&amp;nbsp; separately but to no avail. Is it that I have to sum or condition it by the Multiplier. If so how do I that?&lt;/P&gt;&lt;P&gt;Could someone advise on the correct use of AGGR in this case and my TOTAL use for this as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some expressions that I have tried that doesnt work&lt;/P&gt;&lt;P&gt;Sum($)*Multiplier&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;[Salesperson]&amp;gt; $)&lt;/P&gt;&lt;P&gt;AGGR(&lt;SPAN lang="EN-GB" style="color: windowtext;"&gt;sum($),[Salesperson])*Multiplier&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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/To-Use-AGGR-or-TOTAL/m-p/1291327#M849077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: To Use AGGR or TOTAL</title>
      <link>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291328#M849078</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($*Multiplier)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 16:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291328#M849078</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-15T16:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: To Use AGGR or TOTAL</title>
      <link>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291329#M849079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( [$] * Multiplier ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a chart with dimension Salesperson.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't work, then please describe your data model a bit closer, and post some sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 16:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291329#M849079</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-15T16:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: To Use AGGR or TOTAL</title>
      <link>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291330#M849080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156399_Capture.PNG" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 16:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291330#M849080</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-15T16:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: To Use AGGR or TOTAL</title>
      <link>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291331#M849081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying one step further to aggregrate the total salesperson $(based on sales with multiplier) at firm level. I have expanded my data as below.&lt;/P&gt;&lt;P&gt;How do I get the total qualifiers at firm level after the above has been achieved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="363" style="width: 766px; height: 259px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="34" width="64"&gt;Sales No.&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;Salesperson&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;Product name&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;$&lt;/TD&gt;&lt;TD class="xl63" width="83"&gt;Mulitplier&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Firm Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;3505&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;aa&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;hearts&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;3,570&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;1.0&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Aces&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;7417&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;aa&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;spade&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;16,784&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;2.5&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Aces&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;8279&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;aa&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;spade&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;3,602&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;2.5&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Aces&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;9794&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;aa&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;hearts&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;3,397&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;1.0&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Aces&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;6541&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;bb&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;spade&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;3,005&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;1.0&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Brook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;1800&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;bb&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;hearts&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;3,803&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;1.0&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Brook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;1824&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;bb&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;hearts&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;3,878&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;1.0&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Brook&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;1325&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;cc&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;hearts&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;6,879&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;1.0&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Aces&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;3427&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;cc&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;spade&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;7,261&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;2.5&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Aces&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;3795&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;ee&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;hearts&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;4,500&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;1.0&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Dice&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;4568&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;ee&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;spade&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;7,000&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;2.5&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Dice&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;5398&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;ff&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;spade&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;5,000&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;2.5&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;Dice&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;6756&lt;/TD&gt;&lt;TD class="xl63" width="94"&gt;ff&lt;/TD&gt;&lt;TD class="xl63" width="109"&gt;spade&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;8,700&lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;2.5&lt;/TD&gt;&lt;TD class="xl63" width="86"&gt;&lt;P&gt;Dice&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="157187" alt="Qlikimage.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157187_Qlikimage.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The criteria is if the salesperson achieves more than $20,000, it will be considered as one qualifier for the firm.&lt;/P&gt;&lt;P&gt;in this case, there should be 2 qualifiers each from Aces and Dices.&lt;/P&gt;&lt;P&gt;Is this expression correct to do the aggregration?&lt;/P&gt;&lt;P&gt;if(sum(&lt;D&gt;*(if(&lt;C&gt;='spade',2.5,1)))&amp;gt;'20000',1,0)&lt;/C&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 03:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291331#M849081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-23T03:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: To Use AGGR or TOTAL</title>
      <link>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291332#M849082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this, using advanced aggregation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( Aggr( If( Sum( [$]*[Multiplier]) &amp;gt; 20000, 1,0), Firm, [Salesperson])) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this using an advanced search in a set expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;[Salesperson] = {"=&lt;SPAN style="font-size: 13.3333px;"&gt;Sum( [$]*[Multiplier]) &amp;gt; 20000&lt;/SPAN&gt;"}&amp;gt;} DISTINCT [Salesperson])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double check that the field names are spelled exactely like in your model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 07:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-Use-AGGR-or-TOTAL/m-p/1291332#M849082</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-23T07:53:23Z</dc:date>
    </item>
  </channel>
</rss>

