×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

#Computation error while doing Sum(ToNumber(dimension))

#Computation error while doing Sum(ToNumber(dimension))

#Computation error while doing Sum(ToNumber(dimension))

(OP)
All,

I am using Business Objects 6.5 to create my reports. In one of them I brought in a character dimension(Years: 2000,2001 etc were the values). I had to do a Sum(ToNumber(Year)), where Year was a character object.

This used to work previously but suddenly it started giving me #Computation error yesterday. So I had to work around the problem by creating a variable for ToNumber(Year) and then doing a Sum(Variable).

Eventhough the problem is fixed, i am wondering why it the formula had suddenly given me errors.. If anyone had a similar error and know why this happens please reply. I would be very glad to know.

Thanks,
Anu

RE: #Computation error while doing Sum(ToNumber(dimension))

You would probably need to examine BO's code to trace the problem. From experience I'd have to say that storing expressions in variables and referencing them in another variable seems to work better than using more complex expressions in one go...

Why? Part of the answer may be that BO never rebuild their products from scratch. Over the years they just kept adding functionality and supplying patches, but 6.5 is deep down not really different than version 4.0 from 10 years ago..

I would also advice to convert datatypes within the universe. SQL is a lot more dependable anyway

Ties Blom
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close