Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 software programmers and website developers 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 developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 21st, 2005, 04:30 AM
Registered User
 
Join Date: Oct 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

Reply With Quote
  #2 (permalink)  
Old October 26th, 2005, 12:57 PM
Authorized User
 
Join Date: Dec 2004
Location: flushing, ny, USA.
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #3 (permalink)  
Old November 9th, 2005, 04:49 AM
Authorized User
Points: 202, Level: 4
Points: 202, Level: 4 Points: 202, Level: 4 Points: 202, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2005
Location: Serbia, Belgrade
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to joxa83 Send a message via Yahoo to joxa83
Default

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.

Reply With Quote
  #4 (permalink)  
Old October 6th, 2006, 01:40 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to annacore
Default

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!

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Previous field /column value in cross-tab mozilago SQL Server ASP 0 March 7th, 2007 02:58 AM
how to sort cross tab.sort based on row total joxa83 Crystal Reports 7 March 2nd, 2006 09:12 AM
cross tab help drachx SQL Server 2000 3 October 24th, 2005 03:26 PM
help with cross tab kondapally Crystal Reports 0 August 25th, 2005 09:11 AM
cross tab s_a_ravi BOOK: Professional Crystal Reports for VS.NET 0 February 17th, 2005 06:49 AM



All times are GMT -4. The time now is 06:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.