Currently, I believe the only way to do this would be to use an if statement where the desired outcome is manually typed into the formula. This would be a great one to add to the Ideas section--make sure to add this use case, as our developers like to see real life examples!
that is unfortunate. Programmatically, I think it would be possible if the calculated fields could just call on the [Measure Names] and [Measure Values] items generated by Tableau.
I'll post this in ideas, if I can find it. (kinda' new to the community)
Thanks for the fast reply, Tracy!