You will have to delete it from all BEx Queries that it is used in first. This may also include the query you may have just created it in. Even for recently created formula variables you just made in one query only, you will need to remove from all formula(s), and then SAVE the BEx Query before the system realizes it's been removed from the query.
Then it's as simple as clicking 'Yes' to the prompt in your screenshot.