web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Saving data with similar or same data twice in power apps

(0) ShareShare
ReportReport
Posted on by 6

Just realized after weeks of creating an application from a shared point list that, i am not able to save an entry if it contains the same name as an entry which has already been save. When i try this i see the patch function error notification. How do i solve this issue. 

 

I have the same question (0)
  • mmbr1606 Profile Picture
    14,346 Super User 2025 Season 2 on at
    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

  • ITOKY Profile Picture
    6 on at
    Re: Saving data with similar or same data twice in power apps

    The solution I want is one which would allow me to save the new entry even if a similar entry already exists.

      But would notify me that an entry with that name or data already exists so do I want to save and replace the old entry or save as a new separate entry or do I want to modify the old entry. 

  • ITOKY Profile Picture
    6 on at
    Re: Saving data with similar or same data twice in power apps

    @mmbr1606 

  • ITOKY Profile Picture
    6 on at
    Re: Saving data with similar or same data twice in power apps

    Found a solution to my problem.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 671 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 424 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard