Re: Saving data with similar or same data twice in power apps
hey @ITOKY
you can try something like this:
If(
IsBlank(LookUp(DataSource, Name = TextInputName.Text)),
Patch(DataSource, Defaults(DataSource), {Name: TextInputName.Text, OtherField: Value}),
Notify("An entry with this name already exists. Please choose a different name.", NotificationType.Error)
)
this is high level and would need modification to your needs
Let me know if my answer helped solving your issue.
If it did please accept as solution and give it a thumbs up so we can help others in the community.
Greetings