Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sivarajan21
Post Prodigy
Post Prodigy

How to create a relationship between two tables using a common key

Hi,

 

I have three dimenstion tables as below and merged these 3 tables into one:

sivarajan21_0-1696322578343.png

 

The merged dimension table looks like below:

sivarajan21_1-1696322822272.png

 

similarly I have a data table as below:

sivarajan21_6-1696324993775.png

 

Now I want to merge these above table to communications table as below:

sivarajan21_2-1696323098177.png

I was able to create a relationship between communication and Data with a help of calculated column(Awesome solution from sergei baklan) 

I am confused here how to merge communication with dimension table: The communication table has below columns

sivarajan21_5-1696324796470.png

Now the merged dimension table contains Point id column that corresponds to point id in communication table.

Similarly the client id column in dim merged table corresponds to client id in communication table

This goes similar for contact id column.

 

Now i am confused how to create a relationship between these two tables. 

 

Can you please help me please?

Please let me know if you need further info

 

PFA Communications (3).pbix

Thanks in advance!

@Ahmedx @Greg_Deckler @Ashish_Mathur @amitchandak 

2 REPLIES 2
audreygerred
Super User
Super User

Rather than trying to merge tables together to form one table, I would follow Star Schema and leave your fact and dimension tables separate, but joined with a relationship: http://powerbiwithme.com/2023/07/30/the-star-schema-edition/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





I want it merged! star schema will not work in my case

Any lead would be appreciated

 

Thanks in advance

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.