>>>>> Jim Robinson <jim.robinson-re5jqeeqqe8avxtiumw...@public.gmane.org> 
>>>>> writes:

> This is awesome, thanks for writing it up.  I tried it out and found that
> ledger 3.0.0-20120217 complaints about not understanding the format string:

> While calculating format expression:
>   percent(market(display_total), market((parent.total)))
> While evaluating value expression:
>   percent(market(display_total), market((parent.total)))
>                                         ^^^^^^^^^^^^^^
> While calling function 'market <#EXPR (parent.total)>': While calling
> function 'percent (<#EXPR market(display_total)>, <#EXPR market
> ((parent.total))>)': Error: Left operand does not evaluate to an object

> While I did find that this appeared to work:

>   ledger balance -X '$' Allocation --current -%

--percent only works with balance reports.  The error reporting should be
clearer about this.  Do you have a balance report where it's failing?

John

Reply via email to