I am trying to create a list with only distinct features from my table in Operations Dashboard. I am using the following Arcade script:
var provider = Distinct($datapoint["provider_name"])
return {
attributes: {
provider: provider
}
}
In the line item template in the list, I call it using {expression/provider}. I do not get any errors and it results in a provider name being listed, but I do not get unique names. Rather, it lists them all. Any ideas how to correct this?
Thanks!