Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ss4m/RLf+l2w1g+WQG0mba
Power Apps - Microsoft Dataverse
Answered

Can I disallow duplicate value for a Microsoft Dataverse table column?

Like (0) ShareShare
ReportReport
Posted on 28 Jul 2022 06:28:54 by 9

Can I disallow duplicate value for a Microsoft Dataverse table column?

For example, I have a single text column named "Project Name". If there have been already a record set "Project Name" with "Project1", then "Project1" will not be allowed to be the value of "Project Name" for another record.

 

 

  • Rena_Yu Profile Picture
    9 on 29 Jul 2022 at 02:23:32
    Re: Can I disallow duplicate value for a Microsoft Dataverse table column?

    Hi Rampprakash, thanks for the idea. I tried this feature, the result will block saving duplicate records somehow. 

    Rena_Yu_1-1659061323588.png

     

    See the screenshot above, the error icon will appear, just saying the saving disability without reason. but I think it is because of the duplicate rule. 

    Not sure whether this is a normal behavior because you said we should be able to save duplicate records?

     

     

  • Verified answer
    Ram Prakash Profile Picture
    5,166 Super User 2025 Season 1 on 28 Jul 2022 at 10:34:29
    Re: Can I disallow duplicate value for a Microsoft Dataverse table column?

    Hi   

    Hope you are doing good.

     

    You can simply write Duplicate Detection Rules to achieve the same.

     

    1. Navigate to https://make.powerapps.com

    2. click Gear Icon at the top right

    3. Then Select Advance Settings

    4. Then Select Settings --> Data Management --> Select Duplicate Detection Settings and enable the settings

    5. Once Done Select Duplicate Detection Rules --> Click New and Select Primary Entity and Select the Fields and Save and Publish

     

    Duplicate Detection Rule will only show the message but we can ignore and save the record.

     

    If you want to completely block you need to write Plugins for the same.

     

    rampprakash_1-1659004287727.png

    rampprakash_0-1659004207860.png

    @Rena_Yu

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
mmbr1606 Profile Picture

mmbr1606 13 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics

Loading started