This is the part of my formula that throws the error. Does anything look wrong?
AddColumns(
Search(
Filter(
Filter(
Sort(
'Controls Support',
'Requested Date',
If(
iptStatus_4.SelectedText.Value = "Open",
Ascending,
Descending
)
),
'Ref Assignee' = datAssignee_4.Text
),
Or(
IsBlank(iptStatus_4.SelectedText.Value),
'Ref Status' = iptStatus_4.SelectedText.Value
),
Or(
IsBlank(iptCategory_4.SelectedText.Value),
'Ref Category' = iptCategory_4.SelectedText.Value
),
Or(
IsBlank(iptDivision_4.SelectedText.Value),
'Ref Division' = iptDivision_4.SelectedText.Value
),
'Ref Status' = "Open" || 'Ref Status' = "Closed" || 'Ref Status' = "Declined"
),