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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
marktvc
Helper I
Helper I

Merge data without loading both tables

Hi All,

 

I looking for an option to load data from to SQL tables in to one FACT table withouth having to load the second table.

 

I have used the "Merge Query" option, but that requires the second table to be loaded.  Is there code which can be added to the Advanced editor or in custom columns

 

An example of what I'm looking to achieve

 

Table 1

UIDFnameSname
001JohnSmith
002JaneDoe
003MikeJones

 

 

Table 2

UIDTable1UIDQual
500001BSc
501002Dip
502003N/A

 

Desired outcome is only one Fact Table:

UIDFnameSnameQaul
001JohnSmithBSc
002JaneDoeDip
003MikeJonesN/A

 

The primary reason for this is there is a lot of data in Table 2 which is sensitive and prefer not to have loaded in anyway shape or form.

 

 

 

 

 

1 ACCEPTED SOLUTION
Jimmy801
Community Champion
Community Champion

Hello @marktvc 

 

what is wrong in using the merge? However you have to load the second table in one way to other. And even if you merging both tables, and extracting only one column of your second table, Power query will not load all the second table but only the columns needed. How is the performance?


If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

 

View solution in original post

2 REPLIES 2
V-pazhen-msft
Community Support
Community Support

@marktvc 
You cannot not merge without having both tables in power bi, the workaround is only if you can merge the tables in datasource e.g. SQL database or Excel, then load the merged table in power bi.

 


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

Jimmy801
Community Champion
Community Champion

Hello @marktvc 

 

what is wrong in using the merge? However you have to load the second table in one way to other. And even if you merging both tables, and extracting only one column of your second table, Power query will not load all the second table but only the columns needed. How is the performance?


If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors