Hello,
I am having an issue where I am creating an Expression for a Label of a Feature Layer within Map Viewer Classic. I am trying to have the expression change which attribute is labeled based off the map scale. However, I am running into an issue where the expression does not work because of an Execution Error - Identified Not Recognized on the $view portion of my expression.

Within the ArcGIS Arcade Documentation, it shows that $view is able to be used as a profile variable within label expressions. If that is not the case, can someone explain to me why or if there is a workaround?
Yes the expression above might be flawed in general, but that is fixable if the $view issue can be solved.
Thanks