The FILTER function extracts every matching record while XLOOKUP only returns the first result.