How does Poertools handle PTV inside the markup anyway?.<br><br> It seems to be it breaks with ptv. Ej. {(math {$:data1} + {$:data1})} that will totally break. It will show the values but it won't evaluate them. I think that happens the same with pagelits markup .<br>
<br>Any thoughts?<br><br>Regards,<br>Edwin<br><br><div class="gmail_quote">On Fri, Sep 4, 2009 at 11:17 AM, edwin marte <span dir="ltr"><<a href="mailto:edwin.marte@leidba.com">edwin.marte@leidba.com</a>></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;">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="Some Department")} Does Not.<br>
<br>Actually my final markup will be something like the following.<br><br>{(sumdata (pagelist group=Cases -Main -GroupFooter -RecentChanges $:Dept="Some Department" $:Month={$:MthSel}) data=ValueCount)}<br><br>
Both Values $:Dept="Some Department" and $:Month={$:MthSel} brake the pagelist. Any suggestion?<br><br>Regards,<br><font color="#888888">Edwin</font><div><div></div><div class="h5"><br><br><br><br><div class="gmail_quote">
On Thu, Sep 3, 2009 at 5:25 PM, Hans <span dir="ltr"><<a href="mailto:design5@softflow.co.uk" target="_blank">design5@softflow.co.uk</a>></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>Thursday, September 3, 2009, 9:05:36 PM, edwin marte wrote:<br>
<br>
> and hans look aproach looks promosing but haven'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>
</div></div></blockquote></div><br>