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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Under review by Community Managers

Under review

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

Primary Key Question Regarding Web Portal Login registration

Posted on by

Hello everyone,

 

I'm new to Power Apps and currently exploring its functionalities.

 

I'm attempting to display and filter a transaction table based on user login details.

 

Here's is my understanding of the process:

 

  1. A user can register from the sign-in page, which creates a record in the contact table in Dataverse.
  2. Then, I can establish a relationship from the contact table to the transaction table to filter display based on columns based on their login detail.

However, I've noticed that the default Primary Key of the Contact Table uses a combination of first name and last name. This poses an issue as it's possible for two people to have the same first and last name.

 

For example, I've registered three records below.

Both 'Testing11111@hotmail.com' and 'Testing222222@hotmail.com' have different emails but share the same first and last name.

 

CupidC_1-1715159475375.png

 

CupidC_0-1715159441774.png

 

In a one-to-many relationship, the default uses the Primary Key of the contact table to the many side of the transaction table. However, with two identical names, it's impossible to distinguish them in the transaction table (as shown below).

 

CupidC_2-1715159753015.png

 

It would be better if I could use the email address as the primary key of the contact table. However, I've read a few posts saying that it's impossible to change the primary key of a table. Does anyone have an idea how to achieve this? Help would be appreciated.

 

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard

Featured topics