SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 Crystal Report formula to calculate sum of product
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sajitha
Starting Member

Australia
10 Posts

Posted - 06/25/2014 :  00:21:49  Show Profile  Reply with Quote
Hi,


I have two stored procedure fields like what I shown below. I just want to multiply each row and get the total sum.

Eg: sum = (1*34.8 + 3*78 + 5*199). How I can do it in Crystal report formula?

Hour Cost

1 34.8
3 78
5 199


Thank You

sz1
Constraint Violating Yak Guru

United Kingdom
441 Posts

Posted - 08/11/2014 :  11:04:19  Show Profile  Reply with Quote
Create a new formula and add the below, drop onto report or use with other formulas or fields.

//Sum Calc - Formula
1*34.8 + 3*78 + 5*199

We are the creators of our own reality!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000