[pmwiki-users] PAGELIST / Math / summatory

edwin marte edwin.marte at leidba.com
Fri Sep 4 09:17:33 CDT 2009

Hello Hans,

This feature works great, I am almost there.

I am having a problem though trying to use sumdata with pagelist and a PTV
inside the pagelist.

{(pagelist group=Cases)}     Works.
{(pagelist group=Cases $:Dept="Some Department")} Does Not.

Actually my final markup will be something like the following.

{(sumdata (pagelist group=Cases -Main -GroupFooter -RecentChanges
$:Dept="Some Department"  $:Month={$:MthSel}) data=ValueCount)}

Both Values $:Dept="Some Department"  and $:Month={$:MthSel} brake the
pagelist. Any suggestion?


On Thu, Sep 3, 2009 at 5:25 PM, Hans <design5 at softflow.co.uk> wrote:

> Thursday, September 3, 2009, 9:05:36 PM, edwin marte wrote:
> > and hans look aproach looks promosing but haven't tested it yet.
> Now added to
> http://www.pmwiki.org/wiki/Cookbook/PowerTools#sumdata
>  {(sumdata PAGE|PAGELIST data=PTVLIST)}
>    returns sum of PTVs listed from pages in PAGELIST. Input
> arguments: PageName or comma-separated list of pagenames [use (plist)
> or (pagelist) to provide pagelist]; PTV or comma-separated PTVLIST as
> value for data= parameter. The function will convert if necessary
> PVvalues in floating-point numerals.
>  ~Hans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090904/3debe8bd/attachment.html 

More information about the pmwiki-users mailing list