How does one intersect 2 feature sets. I am creating a Data Expression in Dashboard. I reference 2 layers like so:
var fs1 = FeatureSetByPortalItem(Portal("https://arcgis.com"), "myitemid", 42, ["FIELD1", "FIELD2"], True);
var fs2 = FeatureSetByPortalItem(Portal("https://arcgis.com"), "myitemid", 43, ["FIELD1", "FIELD2"], True);
When I try to intersect the 2:
return Intersects(fs1, fs2)
I keep getting an error:
Test execution error: Execution error - Invalid parameter. Verify test data.
I can successfully return each of the 2 featursets, so I don't believe the error is there. It's only when I try to intersect, do I get the error. Any suggestions?
For reference I tired Intersection as well. Same error comes up.