Page 2 of 2 < 1 2
Topic Options
#26999 - 04/21/11 06:51 AM Re: CRYSTAL REPORT FORMULAS - SALES ANALYSIS DATA [Re: Reen]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
What do you expect it to show? Are you trying to create a line for each item? In that case you need to subtotal by item number and insert the subtotals.
_________________________
Andrew Bates

Top
#27000 - 04/21/11 08:23 AM Re: CRYSTAL REPORT FORMULAS - SALES ANALYSIS DATA [Re: Retired_Guy]
Reen Offline
Adagio Groupie

Registered: 01/13/11
Posts: 16
Loc: Saskatchewan, Canada
Yes I want it to show for each item. Here is what I have:

2 formulas to pull the 10wk sales and 3wk prev year sales:

IF {@Date Diff} IN 0 TO 69
THEN {SRW68 Transactions.Quantity sold}
ELSE 0
and
IF {@Date Diff} IN 344 TO 365
THEN {SRW68 Transactions.Quantity sold}
ELSE 0
*** I have subtotals on those 2 formulas

from there I took the subtotals and created 2 more formulas:
'10WK - 40PERCENT' (({@10wk}/10)*.4)
'3WK - 60PERCENT' (({@3wk/3)*.6)

From that I did a formula to calculate the Weekly Sales Forecast:
{@10WK - 40PERCENT}+{@3WK - 60PERCENT}

I cannot subtotal this formula (Crystal will not let me do this?)

Maybe I am over-thinking the process to get the answer I need??

Top
#27001 - 04/21/11 08:38 AM Re: CRYSTAL REPORT FORMULAS - SALES ANALYSIS DATA [Re: Reen]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
You can't subtotal the formula because adding together the percentages is meaningless. You need to recalculate the numbers using the subtotals in the subtotal section.

A suggestion. Get the report generating summary numbers and breaks before you start adding formulas. Can you create a report that just shows the total dollars sales by item over a specific period?
_________________________
Andrew Bates

Top
Page 2 of 2 < 1 2


Moderator:  Softrak Support 
Who's Online
1 registered (Lauren Stief), 146 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14449 Topics
70594 Posts

Max Online: 432 @ 01/20/25 10:17 PM
April
Su M Tu W Th F Sa
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