You can stack and replace filters within the Calculated metric builder.
Begin building a metric, as described in Build calculated metrics.
In the Definition canvas, drop the new filter next to the existing one:
Begin building a metric, as described in Build metrics.
In the Definition canvas, drop the new filter on top of the existing one: