Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
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
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

10 Posts

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

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

Aged Yak Warrior

United Kingdom
555 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  
 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.02 seconds. Powered By: Snitz Forums 2000