<?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: Help with AGGR Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217061#M461837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, just check to use sum instead of Count here:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;AvailMins&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 12pt; font-family: 'Arial','sans-serif';"&gt;&lt;STRONG&gt;sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;UserId&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&amp;gt; aggr(Count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;),cReportGroup)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2016 13:44:23 GMT</pubDate>
    <dc:creator>stabben23</dc:creator>
    <dc:date>2016-11-23T13:44:23Z</dc:date>
    <item>
      <title>Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217057#M461833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to ask for some help with an expression.&amp;nbsp; I’m not fluent in the ways of AGGR, but can usually figure it out.&amp;nbsp; Except this time…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the scenario:&amp;nbsp; Call center reps can be staffed in up to 8-10 workgroups (skills). They have an amount of time available in each workgroup that must be summed, then equally distributed among all of their workgroups.&amp;nbsp; In other words, a rep has ten (10) workgroups and an hour of available time in each.&amp;nbsp; Ten (10) total hours of available time.&amp;nbsp; The total time must be divided by the count of workgroups.&amp;nbsp; This example is relatively simple as the number of workgroups each rep is assigned to varies and their available time almost always varies.&amp;nbsp; This example is easy to execute in a straight table with the reps UserId as a dimension.&amp;nbsp; I’m using: &lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;AvailMins&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;UserId&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&amp;gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&amp;gt;}(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;The challenge is getting the same number(s) when the UserId dimension is removed. We need an overall summary of available time by workgroup, without the user detail. I’ve been reading up on AGGR and trying different approaches, but haven’t had any luck.&amp;nbsp; Here is the last expression I tried: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;AvailMins&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;UserId&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Here are a few others:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: green;"&gt;sum(aggr(sum(AvailMins)/count(DISTINCT Total &amp;lt;UserId,cReportGroup&amp;gt; cReportGroup), cReportGroup,UserId))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: green;"&gt;If(Sum(WorkGrpMins) &amp;gt; 0, sum(total &amp;lt;UserId,FiscalYearMonth,cReportGroup&amp;gt; {&amp;lt;cReportGroup=,Division=, Grouping=, CS_Dept=&amp;gt;} AvailMins))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: green;"&gt;(AvailMins/count(DISTINCT Total(cReportGroup)))/count(DISTINCT Total{&amp;lt;cReportGroup=&amp;gt;}(cReportGroup)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Here is a screenshot.&amp;nbsp; Everything matches except for the AvailableMins.&amp;nbsp; The lower table has UserId, the upper table doesn’t. That’s the only difference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;IMG alt="OpsSec.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144648_OpsSec.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Can anyone help me with the workgroup summary AGGR statement?&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: green;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; Any help would be greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;JC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217057#M461833</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-11-23T13:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217058#M461834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 10pt; font-family: 'Arial','sans-serif';"&gt;Try this one:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;AvailMins&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;UserId&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&amp;gt; aggr(Count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;),cReportGroup)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217058#M461834</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-11-23T13:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217059#M461835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but it didn't work.&amp;nbsp; It gives the same value as above: 171,155.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217059#M461835</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-11-23T13:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217060#M461836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason, try setting the same dimensions the chart uses as Aggr() parameters:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: blue;"&gt;&lt;STRONG&gt;aggr&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: blue;"&gt;&lt;EM&gt;sum&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"&gt;AvailMins&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: blue;"&gt;DISTINCT&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;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: blue;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"&gt;UserId&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;&amp;gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;=&amp;gt;}(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: maroon;"&gt;cReportGroup&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;EM&gt;))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;STRONG&gt;, &lt;SPAN style="color: #800000; font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;Division, &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: maroon; font-size: 10pt; font-family: Arial, sans-serif;"&gt;cReportGroup&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;The &lt;EM&gt;italic&lt;/EM&gt; text is your current expression (if it's not, change to your current expression in the chart with dimensions)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;In &lt;STRONG&gt;bold&lt;/STRONG&gt; what I added.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217060#M461836</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-11-23T13:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217061#M461837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, just check to use sum instead of Count here:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;AvailMins&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 12pt; font-family: 'Arial','sans-serif';"&gt;&lt;STRONG&gt;sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;UserId&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&amp;gt; aggr(Count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;),cReportGroup)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217061#M461837</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-11-23T13:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217062#M461838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So in the screenshot the upper table is the incorrect one? In that case maybe:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: blue;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum(aggr&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; color: blue;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; color: maroon;"&gt;AvailMins&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; color: blue;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; color: blue;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; color: maroon;"&gt;UserId&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;&amp;gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; color: maroon;"&gt;cReportGroup&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;=&amp;gt;}(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; color: maroon;"&gt;cReportGroup&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;UserId&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;Note: I forgot the external sum() in the last answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217062#M461838</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-11-23T13:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217063#M461839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to show the issue so that we can play around with it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217063#M461839</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-23T13:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217064#M461840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but that didn't work either.&amp;nbsp; It brought the number down to 72.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ruben's last reply appears to be working, for now.&amp;nbsp; Data is being validated right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217064#M461840</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-11-23T13:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217065#M461841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ruben, the last expression appears to be working.&amp;nbsp; We are validating the data right now.&amp;nbsp; I'll mark your answer as the correct one when we're done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217065#M461841</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-11-23T13:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217066#M461842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, this is another one of those apps with sensitive data.&amp;nbsp; I wish I could.&amp;nbsp; Also, I think Ruben's reply might do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217066#M461842</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-11-23T13:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with AGGR Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217067#M461843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As long as you get a working expression, you don't have to share anything &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. In case you have issues, please provide some more details so that we can give a more educated response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 14:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-AGGR-Statement/m-p/1217067#M461843</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-23T14:00:16Z</dc:date>
    </item>
  </channel>
</rss>

