For some reason, the arcade expression I am using to convert wind directions from degrees to compass rose letters, which works perfectly in Map Viewer is not working properly in Dashboard. When a feature is identified on, the pop-up always shows the wind direction as "N", no matter what the actual compass value. In Map Viewer it converts the compass direction to the correct corresponding letters. Oddly, it also works correctly in Dashboard when that same layer is added to a "Details" window, with the wind direction being displayed with correct compass directions, such as N, NE, S, SE, etc.
The expression I am using is:
var lookup = ['N', 'NNE', 'NE', 'ENE', 'E', 'ESE', 'SSE', 'SSE', 'S', 'SSW', 'SW', 'WSW', 'W', 'WNW', 'NW', 'NNW', 'N']
lookup[ Round(Number( Split( Text( $feature["WIND_DIRECT"] / 11.25), '.')[0]) / 2)]