Notifications
Announcements
I want to create a junction table for a many to many link. I saw this post
Solved: Create view for a Many to Many relationship using ... - Power Platform Community (microsoft.com)
How do I create a table in Dataverse that does not include the Name as the primary field (Text). I want to use a ID as primary field (Number). Dataverse always adds the Name field when i create a new table.
This is the table I am trying to create
Regards
Dave
@Daved1 When you create a Many-to-Many relationship in Dataverse, it automatically creates this 'junction' table. You also don't have to worry about the fields as the relationship is between the record(s) in one table to the record(s) in the other table and not between any specific column(s). Check here for more info, https://docs.microsoft.com/en-gb/powerapps/maker/data-platform/data-platform-entity-lookup#add-a-many-to-many-relationship
Thanks for your response.
I am currently using the out of the box Dataverse 'Junction' table. However, i need to add columns now to this table. The simple 2 column out of the box table does not work for my application. This is why i need to create the custom junction table.
@Daved1 The junction table is basically a table with 2 fields where each field has a 1:N relationship (LookUp) with another table. If you want you can create you own junction table, you need these two fields plus any other fields according to your requirement. Further, when you create the table, you can give a name for the Primary Name Column as you like and also later (before saving the table) change its data type to AutoNumber if that's what you want.
That is exactly what I am looking for.
However, I still can't find it. i do not see the option to change the Data Type. I must be blind...
OK - I get it now.
So I created a new table in my Solution. I had to hit save (only option).
Then after the table was created, i was able to click on the column and change it to Autonumber
Thank you so much for your help. THis was driving me crazy
@Daved1 While creating the table you can't change it. After you create, go to that field and then you will be able to change it as seen below,
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268