See Chasing my tail with Arcade/Attribute Rules
As a an Arcade noobie, I seem to be bumping into inconsistencies with the Profiles of various functions. Please develop increased viability with FeatureDataSetByName(). If I'm using services as data sources and need to calculate values on other data sources, the $map global should allow me to do that in ArcGIS Pro.