Hello @tanja.baccega
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
-AHS
You can add more condition to your search filter
Here is the sample but you can add more condition to fit your needs:
GroupSize= 5 basestring = "DerivedCategory eq 'BOND' and OriginalIssueCurrency eq 'USD' and ParentIndustrySector eq 'BANKS' and RIC ne null and ISIN ne null" srchfields = "RIC,ISIN,SeniorityType,NativeIdentifier,DerivedCategory,OriginalIssueCurrency,ParentIndustrySector" peergroupData = rdp.search(view=rdp.SearchViews.GovCorpInstruments, filter=basestring, top=GroupSize, select=srchfields) peergroupData
"RIC ne null" means "RIC field does not equal NULL value".