|
|
 |
| Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other programmers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
|
 |

October 21st, 2005, 05:30 AM
|
|
Registered User
|
|
Join Date: Oct 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Calculated field total in cross-tab
I have three fields on a Crystal report cross-tab, FieldA, FieldB and
FieldC. FieldC is a formula field, dividing FieldA by FieldB. Report is organized like this:
Group1: Buyer
Group2: Destination
Cross-tab:
Item Month1 Month2 ...
FieldA FieldB FieldC
Item1 x y x/y
...
Total sum(x) sum(y) sum(x/y)
How can I get (sum(x)/sum(y)) instead of sum(x/y) in the totals section?
Any help would be greatly appreciated.
|

October 26th, 2005, 01:57 PM
|
|
Authorized User
|
|
Join Date: Dec 2004
Location: flushing, ny, USA.
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
u cannot have two diff., formulas one for details and one for sumamry in crosstab. all u can do is create another cross tab with ur desired dormula and place it over the existing on and format accordingly to supress what u don't want to see in both the crosstabs.
http://support.businessobjects.com/l...s/c2006237.asp
|

November 9th, 2005, 04:49 AM
|
|
Authorized User
|
|
Join Date: Nov 2005
Location: Serbia, Belgrade
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
it is possible with GridRowColumnValue and CurrentFieldValue functions and i would need some time to do that. so if u are still interested in solution let me know.
|

October 6th, 2006, 02:40 AM
|
|
Registered User
|
|
Join Date: Oct 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hyeee...
how can i capture the value of the last item not equal to 0 for each column in a cross-tab?
this is how the cross tab should look like:
Item Shop1 Shop2
Item Receive Issue Stock
Item0 0 0 40
Item1 0 10 30(Stock = Stock - Issue)
Item2 20 0 50(Stock = Stock + Receive)
Item3 0 0 50(takes the value of the last stock item)
...
GrandTotal 20(Sum of Receive) 10(Sum of Issue) 50(Value of the last stock item)
i really need help on how to display these data in a cross-tab..
the main problem is how to display the last item in Stock Grand Total Column when it is not a summary but an exact value instead.
Help needed, thanx!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |