Hi @Anonymous
Try this
If you use variable SortByDueDate
SortByColumns(
Filter(
'List Building List',
Len(CampaignFilter.Text) = 0 || StartsWith(Title, CampaignFilter.Text),
Len(Namefilter.Text) = 0 || StartsWith('Requestor Name', Namefilter.Text),
Len(Progressfilter.Selected.Value) = 0 || Progress.Value = Progressfilter.Selected.Value,
Len(ComboBox1.Selected.Value) = 0 || 'Service requested' = ComboBox1.Selected.Value
),
'Due Date',
If(SortByDueDate, SortOrder.Ascending, SortOrder.Descending)
)
(Or)
SortByColumns(
Filter(
'List Building List',
Len(CampaignFilter.Text) = 0 || StartsWith(Title, CampaignFilter.Text),
Len(Namefilter.Text) = 0 || StartsWith('Requestor Name', Namefilter.Text),
Len(Progressfilter.Selected.Value) = 0 || Progress.Value = Progressfilter.Selected.Value,
Len(ComboBox1.Selected.Value) = 0 || 'Service requested' = ComboBox1.Selected.Value
),
'Due Date',
SortOrder.Ascending
)
Reference link : Solved: Sort by date and time - Power Platform Community (microsoft.com)
Thanks!
If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.