Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding the Difference of Two Summarized Fields

Status
Not open for further replies.
Feb 9, 2009
77
US
I have two fields in GH5 of my report that are weighted averages of two formula fields.

Field 1 = Weightedaverage(@formula1,@forumla2,GH5)
Field 2 = Weightedaverage(@formula1,@formula3, GH5)

formula1 = If field.NA = "Y" then 0 else field.rate
formula2 = If field.date = 9/30/2009 then 0 else field.balance
formula3 = If field.date = 12/31/2009 then 0 else field.balance

These fields seem to be calculated correctly, however when I try to find the difference of the two numbers it is not calculated correctly. Is there a way around this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top