Hello Hans, <br><br>This feature works great, I am almost there.<br><br>I am having a problem though trying to use sumdata with pagelist and a PTV inside the pagelist.<br><br>{(pagelist group=Cases)}     Works.<br>{(pagelist group=Cases $:Dept=&quot;Some Department&quot;)} Does Not.<br>

<br>Actually my final markup will be something like the following.<br><br>{(sumdata (pagelist group=Cases -Main -GroupFooter -RecentChanges $:Dept=&quot;Some Department&quot;  $:Month={$:MthSel}) data=ValueCount)}<br><br>

Both Values  $:Dept=&quot;Some Department&quot;  and $:Month={$:MthSel} brake the pagelist. Any suggestion?<br><br>Regards,<br>Edwin<br><br><br><br><div class="gmail_quote">On Thu, Sep 3, 2009 at 5:25 PM, Hans <span dir="ltr">&lt;<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Thursday, September 3, 2009, 9:05:36 PM, edwin marte wrote:<br>
<br>
&gt; and hans look aproach looks promosing but haven&#39;t tested it yet.<br>
<br>
</div>Now added to<br>
<a href="http://www.pmwiki.org/wiki/Cookbook/PowerTools#sumdata" target="_blank">http://www.pmwiki.org/wiki/Cookbook/PowerTools#sumdata</a><br>
<br>
 {(sumdata PAGE|PAGELIST data=PTVLIST)}<br>
    returns sum of PTVs listed from pages in PAGELIST. Input<br>
arguments: PageName or comma-separated list of pagenames [use (plist)<br>
or (pagelist) to provide pagelist]; PTV or comma-separated PTVLIST as<br>
value for data= parameter. The function will convert if necessary<br>
PVvalues in floating-point numerals.<br>
<font color="#888888"><br>
<br>
<br>
  ~Hans<br>
<br>
</font></blockquote></div><br>