Link to home
Start Free TrialLog in
Avatar of FastEddie___
FastEddie___

asked on

Creating a financial median function in Crystal Reports.NET

The median function built into Crystal Reports.NET uses a statistal median where the lessor of the middle values is discarded. I need to use a finanical median in my report. The financial median takes the two middle numbers and divides by 2 to get the median.

Does anybody know if there is a function to calculate the financial median in CR.NET?

Any help is greatly appreciated.

-Eddie

Avatar of frodoman
frodoman
Flag of United States of America image

There isn't a built-in function however you can use formulas to calculate it yourself.  There is a sample crystal report that contains the formulas to do this: http://support.businessobjects.com/communityCS/FilesAndUpdates/median.zip.asp

frodoman
Avatar of FastEddie___
FastEddie___

ASKER

Thanks frodoman.

I downloaded the zip but I couldn't get the .MDB database file to open. It is either an old version that can not be converted or corrupt and the readme.txt file has a lot of strange charactors in it.

But this does get me going in the right direction.

You wouldn't happen to know of any other resources?

-Eddie
ASKER CERTIFIED SOLUTION
Avatar of frodoman
frodoman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial