We help IT Professionals succeed at work.

how do i sum multiple fields in ms sql reporting services

LHood1
LHood1 asked
on
Medium Priority
1,441 Views
Last Modified: 2012-06-27
for example i have fields1, fields2 etc..

In an expression how do I add these all together

I need currency format..

LH
Comment
Watch Question

If they are within the same dataset just add an expression to the table cell:

=Fields!MYFIELD1.Value + Fields!MYFIELD2.Value + Fields!MYFIELD3.Value ...

Depending on your data you might need to use the SUM function =Sum(Fields!MYFIELD1.Value) + ...

Then just format the cell as Currency (Format=C2)

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.