Hi,
I am struggling to get this formula to work correctly and was hoping someone can help.
I have a gallery that originally had 2 filters that users would use and that worked fine, but they have since asked for a 3rd filter option and I cannot seem to get all 3 filters to work along side each other.
This is my formula which doesn't error, it just doesn't seem to work:
If(IsBlank(txt_progressRC_search.Text),
With(
{
SelectedStatus: If(
'dd_progress-RC_status'.Selected.Value = "Pending", "Awaiting",
'dd_progress-RC_status'.Selected.Value = "Approved", "Approved",
'dd_progress-RC_status'.Selected.Value = "Rejected", "Rejected",
'dd_progress-RC_status'.Selected.Value = "Cancelled", "Cancelled"
)
},
SortByColumns(
colAllItems,
"ID",
SortOrder.Descending
)
),
If(!IsBlank(cmb_progressRC_RCcontact.Selected.Result),
Filter(colAllItems,
varRCFilter in ResourcingContact.DisplayName || varRCFilter in ResourcingDelegate.DisplayName),
Filter(
colAllItems,
txt_progressRC_search.Text in ID)))
The outcome needs to be that they all work in conjunction with each other, and none over write each other.