I am not going to claim to be calculation wizard by any means. I do believe the desired result is possible through use of Level of Detail calculations. These calculations allow for a calculation to address dimensions that are not present in the view.
Additionally it is important to understand when and where these types of calculations affect the filters on the view and when the filters will affect the calculation. I would review the Tableau Order of Operations.
I hope this help!