cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mridul Member
Member

SQL server or PowerBI to create table relationship

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. 

 

  

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Re: SQL server or PowerBI to create table relationship

@mridul ,

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!

View solution in original post

3 REPLIES 3
Super User II
Super User II

Re: SQL server or PowerBI to create table relationship

Hi @mridul , 

 

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!

Highlighted
mridul Member
Member

Re: SQL server or PowerBI to create table relationship

Hi @Tahreem24 ,

 

Thanks for your quick reponse.

Does this mean IMPORT functionality will be used and NOT Directquery ? 

Super User II
Super User II

Re: SQL server or PowerBI to create table relationship

@mridul ,

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!

View solution in original post

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors