<?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: Problem with aggr over dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848642#M297773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately it does not work properly. It always shows 1 on pie chart - it takes only one status for last date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select a few persons and/or a few courses it needs to count all the statuses for persons with given courses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2015 12:49:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-29T12:49:09Z</dc:date>
    <item>
      <title>Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848635#M297766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am building an application to show some training courses statistics. Courses have expiration dates and when they are expired they need to be taken again.&lt;/P&gt;&lt;P&gt;For example person 7096 took the course 842 second time and it is compliant at the moment.&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="background: white; border: outset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: inset silver 1.0pt; background: whitesmoke; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;%PersonnelNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: inset silver 1.0pt; background: whitesmoke; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;Course Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: inset silver 1.0pt; background: whitesmoke; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;Course Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: inset silver 1.0pt; background: whitesmoke; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;Expiry Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: inset silver 1.0pt; background: whitesmoke; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;00007096&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;00000842&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;29/03/2012&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;28/03/2014&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;Non Compliant/Expired&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;00007096&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;00000842&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;10/04/2014&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;09/04/2016&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;Compliant&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to show status for the employees of their courses but obviously I do not want to show ‘Non Compliant’ if the expired course was retaken.&lt;/P&gt;&lt;P&gt;I try to create chart and table using aggregation function. I try to aggregate data for given person and course only with maximum date&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Course Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[%PersonnelNumber]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Course Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;But it is not working. When I try to prepare a table or a chart with Status dimension I get a correct count of 1 but for ‘Non Compliant’&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;What I do wrong? I am attaching example application with one employee and charts to show the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Any help would be appreciated,&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Regards,&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Mat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 10:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848635#M297766</guid>
      <dc:creator />
      <dc:date>2015-04-29T10:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848636#M297767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Mat - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking for a count 1 for both Compliant and Non-Compliant? If yes then try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(Aggr(max([Course Date]),[%PersonnelNumber],[Course Number], [Course Date]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 10:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848636#M297767</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-29T10:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848637#M297768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forgot to attach your application (PFA)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 10:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848637#M297768</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-29T10:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848638#M297769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but it is not exactly what I want. For status Non-Compliant I want to show 0. I want to count only the newest courses (aggregation on course number and person)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 10:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848638#M297769</guid>
      <dc:creator />
      <dc:date>2015-04-29T10:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848639#M297770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what is the expected output for the chart Count of Status chart?&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, 29 Apr 2015 10:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848639#M297770</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-29T10:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848640#M297771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be something like:&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="background: white; border: outset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: inset silver 1.0pt; background: whitesmoke; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: inset silver 1.0pt; background: whitesmoke; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;Count of Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: inset silver 1.0pt; background: whitesmoke; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;Compliant&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; background: green; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;Non Compliant/Expired&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; background: red; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: #363636;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: inset silver 1.0pt; padding: 1.5pt 1.5pt 1.5pt 1.5pt;"&gt;&lt;P align="right"&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But best to understand what I want is to look at the pie chart I have added. It is all red = 100% Non compliant.&lt;/P&gt;&lt;P&gt;It should be all green (for course 842)&amp;nbsp; = 100% compliant as the newest course is compliant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 10:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848640#M297771</guid>
      <dc:creator />
      <dc:date>2015-04-29T10:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848641#M297772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this and see if it works for other selections as well (working for your current selection)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(If(Date(Aggr(Max(TOTAL &amp;lt;%PersonnelNumber, [Course Number]&amp;gt; [Course Date]), Status)) =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date(Aggr(Max([Course Date]), Status)), [Course Date]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&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, 29 Apr 2015 11:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848641#M297772</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-29T11:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848642#M297773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately it does not work properly. It always shows 1 on pie chart - it takes only one status for last date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select a few persons and/or a few courses it needs to count all the statuses for persons with given courses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 12:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848642#M297773</guid>
      <dc:creator />
      <dc:date>2015-04-29T12:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848643#M297774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha, somehow I had an intuition that it won't work as you would expect. But I think it is a step in the right direction. Let me further explore it.&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, 29 Apr 2015 12:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848643#M297774</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-29T12:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848644#M297775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(If(Date(Aggr(Max(TOTAL &amp;lt;%PersonnelNumber, [Course Number]&amp;gt; [Course Date]), %PersonnelNumber, [Course Number], Status)) =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date(Aggr(Max([Course Date]), %PersonnelNumber, [Course Number], Status)), [Course Date]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 12:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848644#M297775</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-29T12:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848645#M297776</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;Sunny&lt;/SPAN&gt;, I think it works now. Was much more difficult than I thought but good that it finally works.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 14:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848645#M297776</guid>
      <dc:creator />
      <dc:date>2015-04-29T14:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggr over dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848646#M297777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha ya, I have been in your place many times. But I am glad we finally found the solution.&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, 29 Apr 2015 14:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggr-over-dimension/m-p/848646#M297777</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-29T14:46:16Z</dc:date>
    </item>
  </channel>
</rss>

