Hi Bill, ande sorry it took me some time to respond.
TimeSheetViewQuery is typically used to retrieve the list of relevant work items, by period and optionally project filter.
I didn't figure out what you were trying to achieve with the Actual Effort filter. Perhaps if you send your code over I may be able to make suggestions.
Two notes about this:
I'm not sure TimeSheetViewQuery does support the Where condition.
Here's a sample of a Compare condition with a TimeEffort field & constant:
LeftExpression = new FieldExpression { FieldName = "ActualEffort" },
Operator = Operator.GreaterThanOrEqual,
RightExpression = new ConstantExpression { Value = new Duration { Unit = DurationUnit.Hours, Value = 4 } }
Hope this helps,
Ophir