Hello Power Apps wizards!
I'm hoping I can get some direction on how to resolve a formula error I'm getting when trying to auto-populate a form field based on another field.
I have two SharePoint lists: Applicant and Interview Results. The Applicant list contains the names of all applicants along with additional data such as "Location". All of the fields are "single line of text". The Interview Results list contains "Candidate Name" which is a LookUp field connected to "Applicant Name" on the Applicant list.
In Power Apps, I insert an Edit Form on a blank screen and connect it to the Interview Results list. I want the user to be able to select the "Candidate Name" from the drop-down list and then have it auto-populate the "Location" field. I'm using this formula in the Default field:
LookUp('Applicants',ID='Candidate Name_DataCard2','Location')
I get this error message: "Incompatible types for comparison. These types can't be compared: Number, Control."
I've tried this formulas as well:
LookUp('Applicants','Applicant Name'='Candidate Name_DataCard2','Location')
The error message adjusts to: "Incompatible types for comparison. These types can't be compared: Text, Control."
I suspect the LookUp setting for the "Candidate Name" value on the Interview Results list is causing the issue. However, I must have the "Candidate Name" be a LookUp and be able to record the interview results in SharePoint list.
Any help would be tremendously appreciated!