Hi,
I've been trying to use arcade expression to style a line feature in Portal for ArcGIS. The expression works for the desired style. It hides a few of the features from the layer. However, if I click on the hidden feature location on the map, the pop comes up. If I use the same expression in ArcGIS Pro, the expression works as a definition query and shows/removes features accordingly. But in the portal, too many popups.
1. Style expression working

2. Hidden Feature

3. Popups! Too many!

How do I limit the number of popups or make them correspond with the style expression?