I have the following which works brilliantly with the dynamic linq library:
string where = \"Price < 5\"; string orderby = \"BookID ASC\"; IQueryable
This code worked for me:
float? fSum = qryQueryableData.Select("Price").Cast().Sum();
Where "Price" is a column of type "float?"
Explanations available here.