In an arcade attribute expression I'm counting all of the rows in a layer using the filter. The below code is working.
This Arcade code correctly returns a count of all species in the layer matching the value of the species point clicked for the popup.
//accepted records - working correctly
Count(
Filter($layer, "Species = '" + replace($feature.species, "'","''") + "'")
);
I would also like to filter if row batch number is not null. I can't seem to get the syntax right. I tried
//accepted records - failing
Count(
Filter($layer, "Species = '" + replace($feature.species, "'","''") + "'") && (batch_number != Null)
);
I have tried lots of different versions using tick marks and $feature, but no luck.
please help!