Hello All!
I am waste deep in building my own PowerApps for my company now that I have found this community and YouTube Videos by Shane Young, and have endless amounts of learning material and resources at my fingertips. Throughout all my google searches and video watching, I simply cannot solve this filter problem I am having. I do not get errors in my code, nor does the code ACTUALLY work though....
I have a gallery that I need to see items in 'Projects' based on the logged in user (varCurrentUserEmail) AND whether the 'Approval' toggle field on the item is true or false. I have tried these to no errors or avail:
Sort(Filter(Projects, Approver.Email=varCurrentUserEmail && Approval=true), ID, Descending)
Sort(Filter(Projects, Approver.Email=varCurrentUserEmail && Approval=false), ID, Descending)
Sort(Filter(Projects, Approver.Email=varCurrentUserEmail, Approval=true), ID, Descending)
Sort(Filter(Projects, Approver.Email=varCurrentUserEmail, Approval=false), ID, Descending)
All 4 of these ONLY return records that 'approver = logged in user' and 'Approval = False'. It seems that it is completely bypassing the "Approval=true" in all cases? I pounded my head on my desk for awhile and cannot figure it out. It HAS to be simple... right?
It's giving me errors if using Approval.Value, Approval.TrueText and other more defining names with equaling "true", "Yes", etc, but I think I am barking up the wrong tree on those.