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

Results over fiscal year end

Status
Not open for further replies.

KimMc

IS-IT--Management
Apr 26, 2000
15
CA
I'm having problems with a formula. I'm working on an income statement where the parameters are entered for fiscal year and fiscal period. I would like to return results for the 12 months prior to the entered period. The report is a cross tab. Any suggestions?

Thanks

 
Create a set of formulas to represent the required dates and use these in the selection criteria instead of the paramter fields directly.

E.g.

You have a parameter field called ?StartDate entered as 01/01/2002. To change this into 01/01/2001, create a formula called

@MyStartDate
// Return date one year prior to ?StartDate
Date (year({?StartDate})-1, Month(?StartDate}, Day({StartDate}))
Steve Phillips, Crystal Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top