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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Check uniqueness acros...
Power Apps
Unanswered

Check uniqueness across multiple columns

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I am trying to create a composite unique key which is a combination of multiple columns. However the number of columns and length of columns does not support me creating the key. Is there a way for me to create a busines rule stating that a combination of columns should always be unique or can i generate a unique id based on the combination of those columns.

 

Thanks,

Shiva M

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @v-shimud ,

     

    Did you mean that you cannot use GUID function to create this key? 

     

    It is recommended to restrict the data as Unique from the data source side.

    If you would perfer to add data validation through PowerApps, check the following best practises first:

    A few best practices in Data Validation

     

    Basically, you should add a check formula with the Disabled property of the submit button, once the entered string matches the needs, then make the button enable, also providing a reminding notes would be better.

     

    Regards,

    Michael

  • v-shimud Profile Picture
    Microsoft Employee on at

    Thanks Michael,

     

    Do i have to create a canvas app for writing functions. Because for our scenario we are building model driven app.

     

    Are functions supported in model-driven apps?

     

     

     

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard