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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a formula field

Status
Not open for further replies.
Aug 24, 2012
2
US
I work at a financial institution and I am trying to write a report to track recoveries on charged-off accounts (deposits made after the charge-off date). However, my account history data table does not include charge-off date. I can find the charge-off date with the filter "transaction code = CO", but then it won't display any other transactions. \
How can I create a formula field along the lines of "Transaction Date where Transaction Code = CO"? Then I can use this field and display only history where transaction date > charge off date.
 

Insert a group on the account, person ID or whatever the field is you are evaluating for the presence of the transaction > charge off date.

Create a formula {@chgoffdt} like this in the field explorer:

if {accthist.transactioncode}="CO" then
{accthist.transactiondate}

Then go to report->selection formula->GROUP and enter:

{accthist.transactiondate} > maximum({@chgoffdt},{table.groupfield})

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top