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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
DimchoTsanov
New Member

Using two different data sources in one report

Here is a picture illustrating my scenario: 

PowerBI-Scenario.png

  1. I have two different data source that are loaded from SQL tables
    1. DataSource 1: damaged items
    2. DataSource 2: total process items
  2. They have some columns in common - see the picture
  3. I need to create the above illustrated report. My issue is with the 3rd row - a visual that shows trend about selected time period (in the Filters) based on both data source. Also, when something is selected in the 1st rwo, the 3rd row (trend visual) should change and show related trend data.
  4. Expected amount of data
    1. DataSource 1: 50K records
    2. DataSource 2: 200K records

I read that the proper relations between the two source is the key but I don't know how to connect these two different sources. 

If I try to merge the two tables in one - is this a good approach...I will have table with 250K recoords.

 

Can anyone advise me what is the recommended approach is such scenarios?

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@DimchoTsanov 

The best practice and approach is to create separate dimension tables, either in SQL or Power Query. For example, you can create a single date table and link to both the source data tables using the One-To-Many relationship.
Follow the same for the other columns that are common in both tables.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

1 REPLY 1
Fowmy
Super User
Super User

@DimchoTsanov 

The best practice and approach is to create separate dimension tables, either in SQL or Power Query. For example, you can create a single date table and link to both the source data tables using the One-To-Many relationship.
Follow the same for the other columns that are common in both tables.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.