Are you using a published OData service? Because published OData services in Studio Pro do not support $apply. For a full list of what they do support, see https://docs.mendix.com/refguide/odata-query-options/