I'm encountering issues with the DisplayMode when trying to look up an SP list. I've written the function, which is supposed to be correct.
If(LookUp('DHS Students Users', 'Full Name' = User().FullName).Graduation.Value, "Yes", DisplayMode.Edit, DisplayMode.Disabled)
If the answer is 'yes,' it will show 'Edit'; if not, it will be disabled.