Previous Thread
Next Thread
Print Thread
#26671 03/23/11 05:42 PM
Joined: Jan 2011
Posts: 16
R
Adagio Groupie
Adagio Groupie
R Offline
Joined: Jan 2011
Posts: 16
Can anyone help me with a few formulas???

I am building a report in Crystal using the ICItems fields but I need a calculation for our weekly forecast of each item. I am not certain which fields in which tables I need to draw this information from (I am not sure if I need to pull in more tables/fields to get the correct information and the relationships I would need to tie them to the ICItems table?) . I know that I need three formulas to calculate the final outcome.

1st) sales 10 weeks back from today
2nd) 1 week back from today
3rd) prior year - 3 weeks forward

Once I have this information I can do the last formula which will give me the correct calculation for the weekly forecast.

Any help anyone can give is much appreciated.

Thanks,

Reen #26672 03/23/11 05:49 PM
Joined: Jun 1999
Posts: 4,506
Adagio God
Adagio God
Joined: Jun 1999
Posts: 4,506
Laureen:

Sales data is best pulled from Sales Anlaysis. There is only one transaction table.

As you summized you need a unique formula for each time frame.

The formula needs to look at the transaction date. If it's in the correct date range then output the appropriate amount else 0.

This detail report then needs to be summarized.


Douglas Dickie
AccSys Solutions Inc
Phone: 1.888.534.4344
ddickie@accsyssolutions.com
Joined: Jan 2011
Posts: 16
R
Adagio Groupie
Adagio Groupie
R Offline
Joined: Jan 2011
Posts: 16
Doug:

Can you tell me which tables are the Sales Analasis tables that we use and which fields need to have the relationship put on them to tie them in?

Reen #26681 03/23/11 08:49 PM
Joined: Jun 1999
Posts: 4,506
Adagio God
Adagio God
Joined: Jun 1999
Posts: 4,506
If you start a new report in the normal manner look for SRGLOB in your data directory. In this database look for the table SR65A Transactions.

From this table you will need at least;

Item#
Date
Sales Amount


Douglas Dickie
AccSys Solutions Inc
Phone: 1.888.534.4344
ddickie@accsyssolutions.com

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 1,119 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,680
Posts71,644
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Powered by UBB.threads™ PHP Forum Software 8.0.0