I've been looking around for a solution to this but can't seem to find anything. I'm trying to filter a SharePoint List with a combo box (which allows multiple selections) to apply multiple filters at a time to the data source. This is how it is currently set up and it works fine, however, each filter I apply overwrites the next due to the OR condition.
Any thoughts on how I might alter the code to allow for the filters to be stacked?
Filter(
[@'SP List'],
IsBlank(cboFilter.SelectedItems.Value) Or IsEmpty(cboFilter.SelectedItems) Or
If(cboFilter.Selected.Value="My Advisories",'Modified By'.DisplayName=Office365Users.MyProfile().DisplayName) Or
If(cboFilter.Selected.Value="Approval Pending",ApprovalStatus="Pending") Or
If(cboFilter.Selected.Value="Not Sent",!EmailSent) Or
If(cboFilter.Selected.Value="Active Items",IsActive)
)