Please see if the attached is closer to the goal.
Instead of using the Quick Table calculation on the Selected pill,
I dragged that same pill over to the Measures region of the Side Bar,
and Tableau created for the new calculated field of:
RUNNING_SUM([Active Record Count])
So I changed the [Selected Phase Count] to reference the new field:
IF [Phase Parameter] = 'Active'
ELSEIF [Phase Parameter] = 'Closed'
THEN [Closed Record Count]
and it seemed to work better.
Please see workbook v10.4 attached in the Forum Thread.
279198toggle.twbx 52.2 KB
Thanks so much for your help. I was on vacation last week so I'm just getting back to this now, but your solution worked perfectly!