Activate display all values for a custom field filter


I am able to activate display all values in a filter that is using a default field from the data model

However if the field require slight formatting (to fill empty values or group values, this would require a custom field in the cards.
Can we enable displaying all values in a filter (dashboard) for that custom field? If so, How?