I have the following which works brilliantly with the dynamic linq library:
string where = \"Price < 5\"; string orderby = \"BookID ASC\"; IQueryable
Try using a lambda expression:
double mysum = MyDataQueryable.Sum(mdq => mdq.Price);