<?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 aggr not working in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-not-working-in-expression/m-p/217740#M70925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guten Tag Rainer!&lt;/P&gt;&lt;P&gt;I inserted NODISTINCT in my aggr and now that particular chart works a treat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=count(JobID) /aggr(NODISTINCT count(JobID),PriorityBandDescription)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Vielen Dank&lt;/P&gt;&lt;P&gt;michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2009 18:31:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-16T18:31:32Z</dc:date>
    <item>
      <title>aggr not working in expression</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-not-working-in-expression/m-p/217738#M70923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scenario: Customer satisfaction, based on job priority.&lt;/P&gt;&lt;P&gt;Jobs have different priorities, and customers rate their satisfaction afterwards. There are three satisfaction levels, 'Yes', 'No' and 'N/A'. There are four priorities.&lt;/P&gt;&lt;P&gt;I am attempting to rate percentage satisfaction against priority, rather than against all jobs (eg if there are a 17601 jobs, but only 12917 are Urgent, and of those 12917, 10487 customers were satisfied, then 81.19% is the satisfaction).&lt;/P&gt;&lt;P&gt;I cannot get a bar chart to do this, so I have been playing with a Straight Table chart to to see what figures come out.&lt;/P&gt;&lt;P&gt;If I add a calculated dimension with the formula&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=aggr(count(jobID), PriorityBandDescription)&lt;/PRE&gt;, the number I require appears against each row. If I add an expression with exactly the same formula, the number required only appears against one row for each PriorityBandDescription, with '-' against the others. This is my problem! Where am I going wrong?&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I would hope the expression I require is something like&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=count(JobID) /aggr(count(total JobID), PriorityBandDescription)&lt;/PRE&gt;, but that does not work. Help!&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 17:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-not-working-in-expression/m-p/217738#M70923</guid>
      <dc:creator />
      <dc:date>2009-10-16T17:25:43Z</dc:date>
    </item>
    <item>
      <title>aggr not working in expression</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-not-working-in-expression/m-p/217739#M70924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;please provide a short QV example we can work with.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 18:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-not-working-in-expression/m-p/217739#M70924</guid>
      <dc:creator />
      <dc:date>2009-10-16T18:11:57Z</dc:date>
    </item>
    <item>
      <title>aggr not working in expression</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-not-working-in-expression/m-p/217740#M70925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guten Tag Rainer!&lt;/P&gt;&lt;P&gt;I inserted NODISTINCT in my aggr and now that particular chart works a treat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=count(JobID) /aggr(NODISTINCT count(JobID),PriorityBandDescription)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Vielen Dank&lt;/P&gt;&lt;P&gt;michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 18:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-not-working-in-expression/m-p/217740#M70925</guid>
      <dc:creator />
      <dc:date>2009-10-16T18:31:32Z</dc:date>
    </item>
  </channel>
</rss>

