Forum Discussion
abc_777
4 years agoSolution Specialist
Table over a table
Hi, I have a following relationship where the customer table is related to ssummary (one to many) tables then summary table have a relation to the sale table (many to many) and so when i do t...
- 4 years ago
Can't you create a bridge table?
abc_777
4 years agoSolution Specialist
i have company code in the sale table and ssummary table and
customer_id in the customer table and Customer_code in ssummary table
would be able to help me how i create bridge using distinct
PaulDBrown
4 years agoCommunity Champion
You can create the bridge table using the equivalent to:
Customer Table =
DISTINCT (
UNION (
VALUES ( 'Customer Table'[Customer ID] ),
VALUES ( 'Summary table'[Customer ID] )
)
)
- abc_7774 years agoSolution Specialist
Hi paul
thanks for your reply.
I have many-to-many relation to ssummary and sales table that has
customer_id in the customer table and Customer_code in ssummary table
how i make bridge table in this case
moreover, i am querying from customer tale to sales but ssummary table is in middle of customer and sales table