I am able to fetch the documents that are uploaded into the document library of SharePoint online. Now I want to filter the contents that are getting fetched based on a Lookup column and Choice column. But filter is not working in rest api. Can anyone help here? Below is the part of the url I am using.
/items?$select=,FieldValuesAsText/FileRef&$expand=FieldValuesAsText&$
filter=FieldValuesAsText eq ‘Workbook.xlsx'",