Use a table calc for a filter on Country instead of a quick filter.
Quick filters delete rows from the underlying table. Table calc filters leave the table intact (so that other table calcs can still have access to non-displayed marks) and just displays what satisfies the table calc.
In the attached I used LOOKUP to make a table calc filter. THis structure results in a filter that looks and feels just like a quick filter. The second argument of 0 tells tableau to look at all rows, row-by-row, and get for that row what satisfies the selected value.
Notice that I had to add [Country] to the sheet on DETAILS so that tableau "sees" the data at the country level. Also note that I set the table calc setting for the filter to "cell". Different settings do different things. This one seems to give me the best behavior.
Stacked Bar Example_v10.5.twbx 47.8 KB