Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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
| UID | Fname | Sname |
| 001 | John | Smith |
| 002 | Jane | Doe |
| 003 | Mike | Jones |
Table 2
| UID | Table1UID | Qual |
| 500 | 001 | BSc |
| 501 | 002 | Dip |
| 502 | 003 | N/A |
Desired outcome is only one Fact Table:
| UID | Fname | Sname | Qaul |
| 001 | John | Smith | BSc |
| 002 | Jane | Doe | Dip |
| 003 | Mike | Jones | N/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.
Solved! Go to Solution.
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
@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.
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
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |