Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Report Design
Topic: Division by zero
Oldest Post First
Newest Post First
Author
Message
swatts
Groupie
Joined: 17 Mar 2010
Online Status: Offline
Posts: 83
Topic: Division by zero
Posted: 26 Nov 2012 at 7:35am
Every once in a while there is a 0 thrown into this formula. Is there any way to get around the error:
Sum ({@fees w/o transfer}, {billing_tx_charge_detail.GUARANTOR_ID})/Sum ({@duration in hours}, {billing_tx_charge_detail.GUARANTOR_ID})
IP Logged
hilfy
Admin Group
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Posted: 26 Nov 2012 at 7:43am
Try this:
If Sum ({@duration in hours}, {billing_tx_charge_detail.GUARANTOR_ID}) <> 0 then
Sum ({@fees w/o transfer}, {billing_tx_charge_detail.GUARANTOR_ID})/Sum ({@duration in hours}, {billing_tx_charge_detail.GUARANTOR_ID})
else 0
Proviti, Data & Analytics Practice
www.protiviti.com/US-en/data-management-advanced-analytics
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
This page was generated in 0.016 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.