Multi-select slicer: how to set card to 0 for values that aren't selected
I have three cards, each showing a different total (for the number of clients who have received different services). The cards correspond to the categories in a slicer, and the slicer has to be multi-select. My client wants to the cards to show a 0 if the slicer value is not selected and the corresponding total if the value is selected.
I had a version of this that worked, but only because I set the slicer to single-select. When I change the slicer to multi-select and select more than 1 option, the cards all show 0.
Here's an example for one of the three cards that works with a single-select slicer but not with the multi-select slicer that I need.
VAR _service_type_selector = SELECTEDVALUE('aec_surveys Participants'[service_type], "All")