Newbies minglebrot Posted July 24, 2008 Newbies Posted July 24, 2008 I am trying to figure out how to make a calculation field.... I start with Balance = Job::Price - Invoices::Amount That gets me close but I need to figure out how to only include Invoices::Amount where Invoices::Paid Date is not null.... I'm sure this is possible... Can anyone help?
IdealData Posted July 24, 2008 Posted July 24, 2008 Use the CASE function. Here's a clue... Invoices::Paid Date ≠ ""
Newbies minglebrot Posted July 24, 2008 Author Newbies Posted July 24, 2008 Hey thanks, I'll look into that...
Newbies minglebrot Posted July 24, 2008 Author Newbies Posted July 24, 2008 This is what I came up with -- but following this tip but it still produces the same result. I even tried making a calculated Paid? field in invoices to simplify matters but it still doesn't work. Any suggestions? Price Agreed Upon - Sum ( Case( Invoices::Paid? = "Yes" ; Invoices::Amount; Invoices::Paid? = "No"; 0; 0 ) )
Recommended Posts
This topic is 6026 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now