I have 2 people picker fields.
I am trying to restrict users from entering same person in the people picker field.
I tried to set this formula on the OnChange property of the second people picker field :
If(!IsBlank(Filter(DataCardValue13.SelectedItems,Email in DataCardValue10.SelectedItems.Email)),Notify("you've selected duplicated user",NotificationType.Warning))
But it always shows the warning message even when the users are different.
What am I missing here?

Report
All responses (
Answers (