When you make a selection from a calculated dimension, you are actually making a selection in the underlying fields. Much the same way as selecting an expression value in a straight table selects the dimensions underlying the selected expression value.
If possible, use this logic to create a derived field in the load script.
Logic will get you from a to b. Imagination will take you everywhere. - A Einstein