Official comment
You can exclude sales (or any other activity) for contacts you have deleted by using the condition "Contact still exists":

I have quite a few "orders" using dummy contacts and the dummy gateway that are skewing my Dashboard metrics. Is there any way to exclude these?
You can exclude sales (or any other activity) for contacts you have deleted by using the condition "Contact still exists":

Please sign in to leave a comment.
You can also go into the test contact's Contact Record and, on the Purchases tab, select the Transactions you want to eliminate from the sales reports. Select "Void" from the drop down menu.

A voided transaction reverses the sale completely, as if it never happened. It will still show up in the "Void" column. These two images show the effect of voiding a transaction. Note the total sales of the product (first column) in the highlighted rows.

It'd be nice if Dashboard Metrics just excluded test transactions by default so we can continue to run tests thru Dummy gateways and not have to delete records or transactions manually.