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
 General SQL Server Forums
 New to SQL Server Programming
 SQL Layout view issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

midpenntech
Posting Yak Master

137 Posts

Posted - 05/14/2008 :  11:19:56  Show Profile  Reply with Quote
I have a report that i have totaled and working correctly and I am able to get the 2 columns to sum up but I need to get those 2 sumed columns to be divided to get the gross prof %.

The columns that I have summed are
=Sum(Fields!eqpsldamt.Value)
=Sum(Fields!grosspro.Value)

I need to take those summed values and divide them but I do not know the propper syntax to do this. I thought it would have been
=SUM(Fields!grosspro.Value) / SUM(eqpsldamt.Value)

But this did not work any help would be great thanks!

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 05/14/2008 :  11:23:21  Show Profile  Reply with Quote
Duplicate post:-

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=102850
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.06 seconds. Powered By: Snitz Forums 2000