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

Fiscal Year

Status
Not open for further replies.

beth4530

Technical User
May 5, 2011
44
US
How do you write a Crystal formula so when a fiscal year parameter is selected it calculates the time period for that fiscal year without having to manually update the formula for each FY period.
 


What is your formula for a fiscal year period?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
IF FY2011 is selected then pull dates in 7/1/2010 to 6/30/2011
 
I ordinarily use a formula like this, where {?FiscalYear} is a number parameter, for a record selection formula:

{table.date} in date({?FiscalYear}-1,7,1) to date({?FiscalYear},6,30)

If you are trying to group your date fields based on fiscal year or use it in charts or crosstabs, you can use a formula like this:

"FY "+totext(year({table.date}+184),"0000")

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top