I want to add a column to a table to calculate a percentage. As a test I added a column and set this as the source expression:
Quantity/"Qty. to Invoice (Base)"
The problem is when "Qty. to Invoice (Base)" is 0.
I've been digging through David Studebaker's book among other sources and cannot find any references to what you can put in source expressions.
I'd guess I want something like
if ( iserror(Quantity/"Qty. to Invoice (Base)"),
0,
Quantity/"Qty. to Invoice (Base)")
Anyone know what you can put into source expressions?
I'm also going to have to format the output as a percentage but I can't find documentation on the available options for the format property on a numeric field. Again - any pointers?
Ian
0
Comments
Something like this:
In the sourceexpression, you can use that function as
Remark : you CANNOT filter on that field.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
One of the reasons is that if you put it in the table, you can more easily use that code in other objects.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!