Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
What is the optimal solution for creating relationship between tables as per below details.
1) I am using SQL Server 2018 and Power BI Pro
2) 20 Tables (15 small tables , 5 heavy tables) exist in SQL having approx. 7 million records
3) To create reports, I need to make relationship between tables
Should I create relationship in SQL (Database Diagram ) OR in Powerquery using Import data functionality ?
I have created some relationship in PowerBI, Is there a possibility to import the same relationship in SQL Database Diagram ?
Thanks in advance.
Solved! Go to Solution.
@Anonymous ,
You can create relationship in both the modes(Import and Direct Query).
KUDOS would be really appreciated! Also mark this as a solution if it helps you!
Hi @Anonymous ,
You need to create a relationship between all those in Power BI desktop under Relationship View.
Please give Thumbs up for support and accept this as a solution if it helps you!
Hi @Tahreem24 ,
Thanks for your quick reponse.
Does this mean IMPORT functionality will be used and NOT Directquery ?
@Anonymous ,
You can create relationship in both the modes(Import and Direct Query).
KUDOS would be really appreciated! Also mark this as a solution if it helps you!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 122 | |
| 110 | |
| 83 | |
| 69 | |
| 68 |