|
Re: Proper aggregated file sizes [message #647643 is a reply to message #647629] |
Fri, 07 January 2011 14:30 |
|
In the aggregate items onCreate script use the setDisplayValue function
like:
//get the value
var myval =this.getValue();
//modify it and
this.setDisplayValue(myval +"Kb")
Jason
On 1/7/2011 8:26 AM, Daniel Ohlsson wrote:
> Hi
>
> I'm creating a report with a table that lists the size of a bunch of
> files. These files vary greatly in size between KBs and GBs. Their size
> is given to me in bytes. Currently I format the file sizes into correct
> KB/MB/GB units with the Expression Builder.
>
> But I also want a sum of the file sizes at the end of the table. I have
> created a Aggregation in the end of the table that sums the file sizes
> in bytes together. But I want that aggregation to also display correct
> units in either KB, MB or GB. I have noticed that the Expression Builder
> behaves differently for aggregations so I can't use the same solution
> for them.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03618 seconds