So I am dealing with a Parks dataset that has multiple records and each park has an individual field for each amenity such as "Restrooms", "Swimming", or "Hiking" with either a "yes" or "no" to indicate if the park has that specific amenity. I also have an "Amenities" field that has all the amenities as a string. For Example, "Central Park" has an "Amenities" value of 'Restrooms, Swimming, Hiking, Baseball, Basketball, Cycling'.
I am trying to use a selector to assign each amenity to a category so that if I click on the "Restrooms" category, each park that has restrooms as one of its amenities will be selected. My biggest issue is that when I try to configure the selector to categorize "Amenities" it displays the entire string rather than each individual substring.
Does anybody know how I can use a data expression to fix this?