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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
sivarajan21
Helper V
Helper V

How to build a efficient relationship between tables

Hi,

 

I have a below table with columns source_table and source_id. This table is connected to other tables using source_id.

sivarajan21_0-1693986828137.png

Now, I am trying to find the best way to create relationship between these tables. We tried to unpivot the 'source_table' & 'source_id' column like below:

sivarajan21_1-1693987324460.png

 

As a result of this, there are multiple relationship coming to communication table and our relationship looks like below:

sivarajan21_2-1693987403373.png

Is there any possibility that we can split the table into small tables to create relationship?

 

Please can you suggest some efficient ways to create relationships between tables?

Please let me know if you need further info!

 

Thanks in advance!

 

@Greg_Deckler @Ahmedx @Ashish_Mathur @grantsamborn @amitchandak 

2 ACCEPTED SOLUTIONS
Idrissshatila
Super User
Super User

Hello @sivarajan21 ,

 

I suggest you take a look at the star schema Data Model.

 

https://learn.microsoft.com/en-us/power-bi/guidance/star-schema

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

Dhairya
Solution Supplier
Solution Supplier

Hey @sivarajan21 
To efficiently manage tables and their relationship, you can create a star schema with one center table having numerical values and related with different dimension tables having categorical values.

you can refer below link to learn more about star schema
https://learn.microsoft.com/en-us/power-bi/guidance/star-schema

If you found this useful then please mark my solution as accepted so that others can find it quickly while facing similar issue. Thank You!

View solution in original post

3 REPLIES 3
sivarajan21
Helper V
Helper V

Hi Guys,

 

Thanks for helping out!

Dhairya
Solution Supplier
Solution Supplier

Hey @sivarajan21 
To efficiently manage tables and their relationship, you can create a star schema with one center table having numerical values and related with different dimension tables having categorical values.

you can refer below link to learn more about star schema
https://learn.microsoft.com/en-us/power-bi/guidance/star-schema

If you found this useful then please mark my solution as accepted so that others can find it quickly while facing similar issue. Thank You!

Idrissshatila
Super User
Super User

Hello @sivarajan21 ,

 

I suggest you take a look at the star schema Data Model.

 

https://learn.microsoft.com/en-us/power-bi/guidance/star-schema

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.