Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 21st, 2006, 05:51 PM
Registered User
 
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Crystal Reports: Displaying percentages of total q

I'm creating a .NET crystal report sales report that lists the total # of each item sold and the percentage of total sales that the item contributed towards however, before I can calculate the percentage for each row, I need to know the total qty of the report, which I don't know how to retrieve.

So a sample report of 500 items sold may look like this:
-----------------------------------------------------------
Category | Qty Sold | Percentage
-----------------------------------------------------------
Electronics | 200 | 40%
Books | 100 | 20%
Movies | 150 | 30%
Games | 50 | 10%
-----------------------------------------------------------
Total | 500 | 100%
-----------------------------------------------------------

How can I calculate a percentage for something like this?
Thanks.

-Goalie35






Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal reports running total prathap Other Programming Languages 0 October 17th, 2006 04:00 AM
Using Running total in crystal reports prathap BOOK: Professional Crystal Reports for VS.NET 0 October 17th, 2006 02:37 AM
Displaying Crystal Reports using ASP Muskan406 Classic ASP Professional 0 January 3rd, 2006 04:18 AM
Displaying Crystal Reports using ASP Muskan406 ASP.NET 2.0 Professional 0 January 3rd, 2006 02:27 AM
Crystal Reports Group Total evman Crystal Reports 0 July 19th, 2005 03:00 PM





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