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.
Author |
Topic |
mahimam_2004
Starting Member
40 Posts |
Posted - 2007-01-08 : 13:02:41
|
HiIn my report I have the total column,under the total i have two sub fields:no , Row%and i have another column Cumulative total sub fields are no,***%For the Row % under total i write like this:=Round((Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)/Sum(Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)*100,2)For the *** % under cumulative total the expression is:=RunningValue((Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)/Sum(Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)*100,sum,"AgeByGender")But i am getting this error:The Value expression for the textbox '*** %' contains an aggregate function (or RunningValue or RowNumber functions) in the argument to another aggregate function (or RunningValue). Aggregate functions cannot be nested inside other aggregate functions.How to get the cm % for the Cumulative totalPlease help meThanks in advance |
|
shijobaby
Starting Member
44 Posts |
Posted - 2009-08-21 : 06:24:30
|
The ways to avoid this error is simple just look into my posthttp://sqlerrormessages.blogspot.com/2009/08/sql-server-error-message-msg-130-cannot.html |
|
|
|
|
|