I don't know of a simple solution, but you're welcome to try having the filters swap/pop as shown here:
It's not super easy to follow/learn, but it works when swapping sheets.
Happy analyzing in Tableau!
I have done it using variations of this method from Tableau help. Example – Swap Measures Using Parameters
You'd have to create a parameter for each of your dimensions, and then build a dynamic measure based on those.
- build a parameter for Sub-Category and Customer (add a record for 'All') and use those as your user controls
- update your filters on those dimensions to use the values in your parameters
- Build a calculated measure that uses the measure you want based on the parameter selections (based on if All is selected in either)
I took a shot at it in the attached workbook and got it working pretty close to your description. You may have to tweak that Dynamic Measure logic to get it working exactly how you want, but I think it's in the ballpark.
For reference, you can also use this Tableau help page. Example – Swap Measures Using Parameters