Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subtotal expression for a table problem

Status
Not open for further replies.

lewis777

Technical User
Nov 26, 2008
2
GB
Hi

I need some help constructing/modify the below expression:

=IIf(Sum(Fields!totalmoney.Value)>105, (Sum(Fields!totalmoney.Value)-105)*0.128, 0) as a sub total in a table.

this currently gives the below result.

total money NI
bob 200 12.16
ted 104 0
subtotal 304 25.47

which is obviously incorrect.



Can anybody help me with an expression that will give the correct result ie 12.16.


thanks
 
This forum is for Microsoft SQL Server. It appears as though your query is written in Microsoft Access. I encourage you to re-post your question in forum701.

-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top