# Crystal Reports Calendar Year to Fiscal Year

Hello, I have a simple report, (attached), that shows me all my customers and total shipments that we made to them by year for the last 5 years. My problem is that management wants to see the figures broke out yearly by the fiscal year which ends on June 30 every year. This report is by calendar year. How can I tell the report that the year is from 7-1 to 6-30 of the next calendar year.

Thank you
Yearly-Ship.rpt
LVL 1
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Author Commented:
Also, how would I have the data vertical instead of horizontal?
0
Commented:
Create a formula for Fiscal Year

Assuming FY2015 is from July 1 2015 to Jun 30 2016.

Name FiscalYear
``````If Month({DateFIeld}) <= 6 then
"FY" & CStr(Year({DateField}) - 1, 0, '')
Else
"FY" & CStr(Year({DateField}), 0, '')
``````

Assuming FY2016 is from July 1 2015 to Jun 30 2016.

Name FiscalYear
``````If Month({DateFIeld}) <= 6 then
"FY" & CStr(Year({DateField}), 0, '')
Else
"FY" & CStr(Year({DateField}) + 1, 0, '')
``````

mlmcc
0
Commented:
The data looks vertical to me.

What do you want it to look like?

mlmcc
0
Professor of MIS at Penn State Erie and Owner, Millet SoftwareCommented:
You can Insert a CrossTab with rows set to the customer and columns set to the FiscalYear formula suggested by mlmcc.
0
Commented:
Is this more on the lines you want?

I added a crosstab.  I also changed the grouping to use the Fiscal Year

You could hide the group 2 header or eliminate it altogether

mlmcc
Yearly-Ship.rpt
0
Author Commented:
Awesome! Simply awesome. Can you eliminate the grand totals?
0
Commented:
Yes.

Right click the crosstab in the upper left square (it is blank)
Click CROSS TAB EXPERT
On the last tab there is a check box to suppress the totals

mlmcc
0
Author Commented:
Is there a way to move the totals to the bottom for each year. I am more interested in totals for each year than by customer.
0
Commented:
Like this one in the report header

mlmcc
Yearly-Ship.rpt
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Author Commented:
Very well done.
0
Author Commented:
One last question. I can do ok with simple reports such as the one that I included with this question. However, I really struggle with formulas, cross-tabs, etc.. Would you be able to suggest the best source of training for Crystal? I would prefer online but would appreciate any suggestions. Thank you again.

Dave
0
Commented:
Not really sure of the best source.  I am for the most part self-taught.

Ken Hamady has some courses

The book I found most helpful is
The Complete Reference - Crystal Reports

http://www.crystalbook.com/program/misc/umbrella.asp

mlmcc
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.