"SortByColumns(
Filter(
IMACD_Transactions,
(IsBlank(Combo_Status1.Selected.cre80_status_options) || Combo_Status1.Selected.cre80_status_options in Transaction_Status),
(IsBlank(Combo_site1.Selected.cre80_site_options) || Site in Combo_site1.Selected.cre80_site_options),
(IsBlank(Trim(Combo_Username1.Text)) || StartsWith(UserName, Combo_Username1.Text)),
(IsBlank(Combo_initiat1.Selected.cre80_name) || Initiated_By in Combo_initiat1.Selected.cre80_name),
(IsBlank(Combo_action1.Selected.cre80_sites) || Action in Combo_action1.Selected.cre80_sites),
(IsBlank(Trim(Combo_Olds1.Text)) || StartsWith(Old_serial, Combo_Olds1.Text)),
(IsBlank(Trim(Combo_News1.Text)) || StartsWith(New_Serial, Combo_News1.Text)),
(IsBlank(Combo_Assigned1.Selected.Value) || Assigned_To in Combo_Assigned1.SelectedItems.Value)
),
"createdon",
SortOrder.Descending
)
"
delegable formula
or
you can use nested filters to reduce the records as well
or
if deleagtion is not an issue than you can use sort inside filter
Filter(
SortByColumns(
IMACD_Transactions,
"createdon",
SortOrder.Descending
),
(IsBlank(Combo_Status1.Selected.cre80_status_options) || Combo_Status1.Selected.cre80_status_options in Transaction_Status),
(IsBlank(Combo_site1.Selected.cre80_site_options) || Site in Combo_site1.Selected.cre80_site_options),
(IsBlank(Trim(Combo_Username1.Text)) || StartsWith(UserName, Combo_Username1.Text)),
(IsBlank(Combo_initiat1.Selected.cre80_name) || Initiated_By in Combo_initiat1.Selected.cre80_name),
(IsBlank(Combo_action1.Selected.cre80_sites) || Action in Combo_action1.Selected.cre80_sites),
(IsBlank(Trim(Combo_Olds1.Text)) || StartsWith(Old_serial, Combo_Olds1.Text)),
(IsBlank(Trim(Combo_News1.Text)) || StartsWith(New_Serial, Combo_News1.Text)),
(IsBlank(Combo_Assigned1.Selected.Value) || Assigned_To in Combo_Assigned1.SelectedItems.Value)
)
If this solution helped you resolve your issue, kindly mark it as accepted — it makes it easier for others to find and also closes the discussion. If you found it useful, a Like ❤️ would be greatly appreciated!
🤝 Let’s connect on LinkedIn || 📘 Explore more on my articles