on 08-27-2009 8:27 PM
Hi Experts,
I am trying to figure out how to create a report for which I have sales figues for one quarter compared to another quarter and then have these compared to the previous year?
In other words the report should look like this
1st Quarter 2009 | 2nd Quarter 2009 | % diff | 1st Quarter 2008 | 2nd Quarter 2008 | % diff
Item 1
Item 2
Item 3
Hpow would I accomplish this?
Depends on the version of Crystal where to get them. Older version they are included if selected to install when you install CR. Newer versions are available by clicking Businessobjects tab above and then Downloads and fill in the rest. You'll find samples reports for each version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure if you are on CR XI or not, but there are some very nice sample reports available, look in the financial section for the Rolling Quarter Income statement, that should get you started. Another option, may be to create some custom groups, ie...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This formula will do a 2 month previous balance.
if {Journal_Entry.Date} < dateserial(year(dateadd('m',-1,{?End Date})), month(dateadd('m',-1,{?End Date})),1) and {Journal_Entry.Date} >= DateSerial(year(dateadd('m',-2,{?End Date})),month(dateadd('m',-2,{?End Date})), 1) then
(
if {Journal_Entry.Debit Or Credit} = 'Credit' then
(
{Journal_Entry.Amount} * -1;
)
else
(
{Journal_Entry.Amount};
)
)
While this one, is a month balance
if {Journal_Entry.Date} >= DateSerial(year({?End Date}), month({?End Date}), 1) then
(
if {Journal_Entry.Debit Or Credit} = 'Credit' then
(
{Journal_Entry.Amount} * -1;
)
else
(
{Journal_Entry.Amount};
)
)
This one is year to date
if {Journal_Entry.Date} >= dateserial(year({?End Date}),1,1) then
(
if {Journal_Entry.Debit Or Credit} = 'Credit' then
(
{Journal_Entry.Amount} * -1;
)
else
(
{Journal_Entry.Amount};
)
)
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.