Select to view content in your preferred language

Split comma separated values across multiple rows used in a list?

189
0
07-24-2024 03:28 PM
Labels (2)
SaraHedrick1
Regular Contributor

Hello, 

I'd like to use this data expression for splitting categories where there is a comma but instead of using it in a pie chart, I would like to use this in a category selector to return the unique values. 

https://github.com/Esri/arcade-expressions/blob/master/dashboard_data/SplitCategories(PieChart).md 

I can use the data expression to display the 'split choices' in the selector. The issue I'm having is that if I set a map action, it is looking for the unsplit value from the original field. Is there something additional I can do so that could do to make this work? 

I just need some way to have a selector the contains the values 'Car, Truck, and Boat' and selects all combinations that contain each value. 

SaraHedrick1_1-1721859916888.png

0 Replies