Forum Discussion
Creating a 1-Many Relationship
- Anonymous6 years ago
HI rjsidek ,
You can consider using union, distinct, values functions to create a calculated table to extract and combine distinct value from original tables and use it as a bridge table to link the table with 'one to many' relationships.
Bridge = DISTINCT ( UNION ( VALUES ( Table1[Column1] ), VALUES ( Table2[Column1] ) ) )If above not work, can you please share some dummy data for test?
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
HI rjsidek ,
You can consider using union, distinct, values functions to create a calculated table to extract and combine distinct value from original tables and use it as a bridge table to link the table with 'one to many' relationships.
Bridge =
DISTINCT ( UNION ( VALUES ( Table1[Column1] ), VALUES ( Table2[Column1] ) ) )
If above not work, can you please share some dummy data for test?
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
This did the trick, thank you! but I still find it weird cause I removed duplicates but still did not have all distinct values, which is weird