<?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 How to do set analysis in this Aggr Sum expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146200#M375020</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 am using following Expression in text box to show sum of total paid amount for orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;[Paid Amount]&lt;/SPAN&gt;, &lt;SPAN style="color: #993300;"&gt;OrderId&lt;/SPAN&gt;,&lt;SPAN style="color: #993300;"&gt;[Paid Amount]&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Can I add 'if' statement or set analysis in this expression to only see total amount where [Sales Rep] = 'James' ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2016 05:32:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-22T05:32:41Z</dc:date>
    <item>
      <title>How to do set analysis in this Aggr Sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146200#M375020</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 am using following Expression in text box to show sum of total paid amount for orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #993300;"&gt;[Paid Amount]&lt;/SPAN&gt;, &lt;SPAN style="color: #993300;"&gt;OrderId&lt;/SPAN&gt;,&lt;SPAN style="color: #993300;"&gt;[Paid Amount]&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Can I add 'if' statement or set analysis in this expression to only see total amount where [Sales Rep] = 'James' ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 05:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146200#M375020</guid>
      <dc:creator />
      <dc:date>2016-08-22T05:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to do set analysis in this Aggr Sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146201#M375021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr( sum({&amp;lt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Sales Rep] = {&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'James'&lt;/SPAN&gt;}&lt;/SPAN&gt;&amp;nbsp; &amp;gt;}&lt;SPAN style="color: #993300; font-family: 'courier new', courier; font-size: 13px;"&gt;[Paid Amount]&lt;/SPAN&gt;)&lt;SPAN style="color: #993300; font-family: 'courier new', courier; font-size: 13px;"&gt;OrderId)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 05:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146201#M375021</guid>
      <dc:creator>stephenedberkg</dc:creator>
      <dc:date>2016-08-22T05:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to do set analysis in this Aggr Sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146202#M375022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stephen, but did not work &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 05:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146202#M375022</guid>
      <dc:creator />
      <dc:date>2016-08-22T05:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to do set analysis in this Aggr Sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146203#M375023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I don't think you need to use Aggr function for that.&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;The below should do - &lt;BR /&gt;&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;sum({&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Sales Rep] = {&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;'James'&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier; color: #993300;"&gt;[Paid Amount]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 05:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146203#M375023</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2016-08-22T05:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to do set analysis in this Aggr Sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146204#M375024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;&lt;SPAN style="color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[Sales Rep]&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = 'James',&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[Paid Amount]&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;), OrderId,&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[Paid Amount]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;&lt;SPAN style="color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[Sales Rep]&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; = {'James'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[Paid Amount]&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;), OrderId,&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[Paid Amount]&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 06:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146204#M375024</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-08-22T06:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to do set analysis in this Aggr Sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146205#M375025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how and where you using this, but may be this (if what Naresh provided doesn't work for you)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum(&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000;"&gt;[Sales Rep] = {&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;'James'&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&amp;gt;}&lt;/SPAN&gt;Aggr(&lt;SPAN style="color: #ff0000;"&gt;Only({&amp;lt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Sales Rep] = {&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;'James'&lt;/SPAN&gt;}&lt;/SPAN&gt;&amp;gt;}&lt;/SPAN&gt;[Paid Amount]&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;, OrderId,[Paid Amount]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 10:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146205#M375025</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-22T10:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to do set analysis in this Aggr Sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146206#M375026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replies guys.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Almost everyone's expression worked.. but I picked Tamil's for now &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&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>Tue, 23 Aug 2016 01:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-set-analysis-in-this-Aggr-Sum-expression/m-p/1146206#M375026</guid>
      <dc:creator />
      <dc:date>2016-08-23T01:01:28Z</dc:date>
    </item>
  </channel>
</rss>

