I'm using the status OptionSet (Active/Inactive) from an Common Data Service entity called "Damages".
The dropdown shows the valid status OptionSet combinations (by using the 'Choices' formula):


Now, I'd like to filter my gallery based on the selected value in this dropdown.
I get various of errors when I try to achieve that filter.


Hard-coding the filter, that works.

Just wondering how I can get the OptionSetValue from the selected dropdown so that I can use it in my filter for my gallery?
I have tried the following workaround, but this gave me a nasty delegation warning and doesn't feel right nor it didn't seem to work somehow:

Any ideas?