Hi everyone!
I'm relatively new to Arcade and i'm trying to calculate a calculate Field in FeatureSet.
Basicly I have a String Field with domains. I want to create a new field that turns those string domains into numbers so I can have a custom order in my serial chart in Dashboards.
For exemple, I have the values: Very bad; Bad; Good; Very Good;
I need to create a new field that turns those values into numbers: Very bad = 0; Bad = 1; Good = 2; Very Good = 3;
Any idea on how to start?
Thanks!!!!!