If(
IsBlank(
LookUp(Stemminglijst_1;Title = Dropdown.Selected.Value && Datum = IsToday(Today()) ))
;Patch(Stemminglijst_1; Defaults(Stemminglijst_1); {Title: Dropdown.Selected.Value})
;UpdateContext({varShowPopup:true}))DropDown = List with custommers
Datum = Date
I would like to prevent a duplication in the SP list. The two conditions that are considered are the Title (dropdown) and the date(datum) of today. If these two combined do not exist then a "patch" may be performed.
Problem:
The Patch works any time, even when an item already exists. Is there a way to do this?