Hi All,
I'm working on Power Apps and I want to filter out a gallery by status = Submitted but exclude any records in which the current user (the approver) is already listed as Approver. I'm not sure why, but when I use =!, I get a "incompatible Types for Comparison" error but not if I just use "=".
Here is the code that I want:
SortByColumns(Filter(Requests, ReqStatus="Submitted", Approver=!varUserName), "ID",Descending)
This code does not work. But if I make Approver = varUserName, it works.
SortByColumns(Filter(Requests, ReqStatus="Submitted", Approver=varUserName), "ID",Descending)
What I am missing here? I want to avoid any operator that is non-delegable.
Thanks,