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

Group on Fiscal year 3

Status
Not open for further replies.

dfwcharles

Technical User
Apr 10, 2002
36
US
Crystal 8 Sql 2000

I have a report of Purchase Orders that is grouped by the order date based on the year. This works great but I want to group on the fiscal year instead. The fiscal year is 12/1 to 11/30. What kind of formula could I use to do this? I dont have or want any kind of data parameter on the report.

Thanks
 
Create a formula like this, and then group on it instead of the order date:

if month({table.order_date}) in [1 to 11] then
cdate(year({table.order_date})-1,12,1)
else
cdate(year({table.order_date}),12,1)

~Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top