Dataset:
select col1, col2, col3, Possible_Duration, Present_Duration
from table
I am designing a report which shows student data and calculating attendance as SUM(Present duration)/SUM(Possible duration)
in an expression.
Detail text box: uses attendance field from dataset
Properties-> FontFamily: =First(Fields!Table_Total_Font_Family.Value, "Styles")
But I am getting this error on execution
The FontFamily expression for the textbox ‘Textbox21' has a scope parameter that is not valid for an aggregate function. The scope parameter must be set to a string constant that is equal to either the name of a containing group, the name of a containing data region, or the name of a data set.
I even tried taking the SUM fields from dataset but cannot eliminate the error.
Any idea where am I going wrong.