strated working with attribute ruls and got stuck
i have layer with the rules and big table with uiniq id and name
i need to populate the PlotName in the layer with the name from the table
but when i try to retrive the name i get "Dictionary Type Expected"
i know i miss someting but dont know what
var id = Text($feature.PlotID)
var features =FeatureSetByName($datastore,"Plots",["PlotID","PlotName"])
var res = Filter(features,"PlotID = @id")
return res.PlotName