Hi there,
Can someone tell me what I'm doing wrong? Still very new to arcade and trying to get a custom dashboard indicator with an expression.
I know I need to return a featureset to get it into a dashboard, I just haven't gotten to that point yet.
First, I need to figure out why my filter is not working. If I put EditDate IS NULL, I get the correct number of features (0):

I just can't figure out how to format to count features where EditDate is equal to 04/22/2024.

I attached a screenshot of the table with the field and attribute I'm trying to filter.

I want to count all the features where the EditDate field is equal to 04/22/2024. This field is a text type. There is no field name alias. There is no domain.
var features_washington = FeatureSetByPortalItem(
Portal('https://www.arcgis.com'),
'e5dd4d84533b49e1978abbd23228b6b7');
var total = Count(Filter(features_washington, 'EditDate = 04/22/2024'));
return total
Thank you.