In Strategy 9.x-10.x, derived metric is evaluated after view filter. This is per design.
However there are workarounds to limit the number of rows displayed depending upon the report design:
Evaluation order on metric limit/derived element can be adjusted together with derived metric in the view evaluation order.
Refer to the technical note below for specific example of evaluation order of derived metric and view filter:
KB441973: Consideration for using conditional derived metrics with related filters on the report in Strategy 10.x
Refer to the technical note below for explanation of the evaluation order:
KB31910: What are the Data Set and View evaluation orders in the Report Data Options Evaluation Order panel in Strategy Desktop 9.x?