Completely baffled as to what is causing my Filter() function to return incorrect results
# This results in 78
CountRows(Filter(
'Facilities Contacts',
IDSegment = SelectedSegment &&
StatusCode = "ACTIV" &&
(!IsBlank(PagerEmail) || true)
))
# This results in 55
CountRows(Filter(
'Facilities Contacts',
IDSegment = SelectedSegment &&
StatusCode = "ACTIV" &&
(!IsBlank(PagerEmail) || false)
))
# For whatever reason, adding !IsBlank() results in 3.
CountRows(Filter(
'Facilities Contacts',
IDSegment = SelectedSegment &&
StatusCode = "ACTIV" &&
(!IsBlank(PagerEmail) || !IsBlank(Email))
))
See attached images! Either something is wrong with my syntax or something very strange is going on.
The same thing happens for the actual rows returned for the data source. I've tried substituting the logical operators with the logical functions--same result. However, when I paste my actual logic into a text field that's evaluated for each record, it prints the what's expected. Any idea what's going on here?