Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

How to make a join table

Basic question: I've 3 tables. A, B, C.

A(ID, Desc)

B(ID, Desc)

C(ID_A, ID_B, Quantity)


The table C has 2 many to one relationships, one for A and one for B.

The table C use this 2 relationships as composite primary key (CDS seems to generate automatically two fields for this, once the relationships are set, so I've skipped this part).

Now, what's the right way to make this with entities? I've created A and B. They both have an autoincrement ID as primary key.

Then I've created C, BUT I've to define a primary field; I've used Quantity, unfortunetly I can only set this field as "Text", instead I'd like to have "number".

Am I doing this the right way? Sorry I'm new in Powerapps world.

Many thanks in advance.

Community Support
Community Support

Re: How to make a join table

Hi @Jumpa ,


Did you mean that you want to set the primary field to number field when you create the entity? Please see the explaination:






Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

Re: How to make a join table

Hi @v-monli-msft , thanks for your support, and sorry for the late reply.

Ok I've understood what a primary field is, but I've a join table and I need a numeric field (creating an entity in CDS, I can only choose TEXT data type).


e.g. Table Order_Articles


Quantity (this is the only "real" field)

Order (relationship)

Article (relationship)

Helpful resources


Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!


Community Highlights

Check out whats happening in Power Apps


Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (10,156)