Hi there, not sure if this will work for you but I have this text mode for a project report where I was trying to find document folders with a particular name. If your doc/sharepoint folder has consistent naming or at least partially consistent (since this works with 'contains'), give it a go after you've applied any other project report filters needed. Start with your standard filters, then change to text mode and add:
EXISTS:a:$$EXISTSMOD=EXISTS
EXISTS:a:$$OBJCODE=DOCFLD
EXISTS:a:document:projectID=FIELD:ID
EXISTS:a:folder:name=[INSERT YOUR FOLDER NAME/PARTIAL NAME]
EXISTS:a:folder:name_Mod=cicontains
If this helped you, please mark correct to help others : )