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

 All Forums
 Development Tools
 Reporting Services Development
 Mathmatical expression in SSRS

Author  Topic 

starchild154
Starting Member

2 Posts

Posted - 2008-03-05 : 22:23:51
I need the correct syntax for writing this expression;the results are adding to each other not subtracting please help:

=FormatCurrency(sum(Fields!GrossLeaseAmount.Value - Fields!TotalConcessionAmount.Value),0)

dataguru1971
Master Smack Fu Yak Hacker

1464 Posts

Posted - 2008-03-05 : 22:28:47
not sure, but maybe you mean:

=FormatCurrency(sum(Fields!GrossLeaseAmount.Value) - sum(Fields!TotalConcessionAmount.Value),0)

?



Poor planning on your part does not constitute an emergency on my part.

Go to Top of Page

starchild154
Starting Member

2 Posts

Posted - 2008-03-05 : 23:19:34
thank you Dataguru .. your suggestion worked
Go to Top of Page
   

- Advertisement -