title: SPQuery calculated fields filter does not work in SharePoint 2007/2010
body: <p>I have a calculated field in my list and I am trying to use filter on this field. For some reason, the following query always returns all items instead of a filtered item collection:</p>
  
  <pre><code>var spQuery = new SPQuery
      {
          Query = @"&lt;Where&gt;&lt;Geq&gt;&lt;FieldRef Name='Score' /&gt;&lt;Value Type='Calculated'&gt;10000&lt;/Value&gt;&lt;/Geq&gt;&lt;/Where&gt;&lt;OrderBy&gt;&lt;FieldRef Name='Modified' Ascending='True' /&gt;&lt;/OrderBy&gt;",
          RowLimit = 200,
          ViewFields = @"&lt;FieldRef Name='Username' /&gt;"
      };
  
  var spList = web.Lists["Users"];
  
  var spListItemCollection = spList.GetItems(spQuery);
  </code></pre>