Skip to main content

Notifications

Community site session details

Community site session details

Session Id : lCvWcPoXpVo0pH6FMu+soQ
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,154 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Loading started