Hi everyone,
I want to filter this gallery based on user accessing the dashboard and the corresponding ApproverID . My code below
With(
{
myApprovalList: LookUp(
'SFA Leave Approvers',
ASM = varUserEmail || Sops = varUserEmail
).ApproverID
},
SortByColumns(
Filter(
'SFA Leave Request',
FormStatus = "Awaiting Automation Support Manager" && ApproverID = myApprovalList || FormStatus = "Awaiting Sales Operations" && ApproverID = myApprovalList,
StartsWith(
'Name of User',
TextSearchBox1_1.Text
)
),
"ID",
If(
SortDescending1,
SortOrder.Descending,
SortOrder.Ascending
)
)
)