Hello all.
So I have a screen on an app that looks like this:

The problem I am having is that the AssigneeTriggerColumn (which is a choice column in a SharePoint list called Hazards) is not auto-filling with options. How it works is:
- If the Second Assignee dropdown is empty, set the AssigneeTriggerColumn choice to "NewAssignee"
- If the Current Assignee dropdown is empty, set the AssigneeTriggerColumn choice to "SecondAssignee"
- Else, set the AssigneeTriggerColumn choice to "NewPlusOne"
- Both Assignee dropdowns are People and Group columns from the same SharePoint list called Hazards
When I load into the page, the value is immediately on "AssigneeTriggerColumn" is set as NewPlusOne, which is expected behaviour. However when I populate either the CurrentAssignee or SecondAssignee boxes, the AssigneeTriggerColumn dropdown doesn't change. It only changes when the value is removed from the column - the AssigneeTriggerColumn starts auto-filling as expected. I just want to know why it starts working properly, but only after I remove the values?!?! Below is my code:
//Auto-fill with a choice, dependant on what boxes have values
If(IsEmpty(SecondAssigneeBox.SelectedItems), LookUp(Choices(Hazards.AssigneeTriggerColumn),Value="NewAssignee"), If(IsEmpty(CurrentAssigneeBox.SelectedItems), LookUp(Choices(Hazards.AssigneeTriggerColumn),Value="SecondAssignee"), LookUp(Choices(Hazards.AssigneeTriggerColumn),Value="NewPlusOne")))
Please help! Thank you 😊 - also, feel free to ask me any questions about the app if you need any clarification on anything!