I have some issue when using the CAML Contains statement when the field is a lookup field on a calculated column.

It basically does not work, the Equal works though.

here is the query, nothing special ...

         <FieldRef Name='MyLookupOnACalculatedField' />
         <Value Type='Text'>some value</Value>

Anybody else has the same issue ?


  • can you paste the code? – Falak Mahmood Jun 27 '12 at 11:39
  • added to the original. This query works on a calculated field but does not work if this field is a lookup on a calculated field. – GillouX Jun 27 '12 at 12:46
  • Wow, I just ran into the same issue. Have to tell them to not use a calculated field, not many other options – svnm Mar 10 '15 at 1:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.