In iReports I have the mongodb connector installed and working, but I am having trouble getting an 'or' or 'and' query to work: This works to bring back ALL records: <queryString language="MongoDbQuery"> <![CDATA[{ 'collectionName':'Encounters' }]]> </queryString> But I have all kinds of variations to actually query a field for not equal to null / not blank (I want to find all records with a BSBegin not null and not blank: <queryString language="MongoDbQuery"> <![CDATA[{ 'collectionName':'Encounters' , 'findQuery':{ '$and': { 'bsBeginDT':{'$ne':null}, 'bsBeginDT':{'$ne':''} } } }]]> </queryString> I have tried several variations, with cury brackets around each query, square brackets around the $and criteria, etc. I either get iterator errors, report contains no pages or other errors.