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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
PanuO
Frequent Visitor

Two or more lakehouse in Visual Query editor

I have a Visual Query where I would like to join two tables from different lakehouses. Query editor shows this error when I add table from second lakehouse and based on error it seems to try to query that table from first lakehouse.

 

Is there a known restriction, that Visual Query editor does not support more than one lakehouse?

PanuO_0-1737638736827.png

 

1 ACCEPTED SOLUTION
nilendraFabric
Solution Supplier
Solution Supplier

Hi  @PanuO 

The Visual Query Editor in Microsoft Fabric is primarily designed to work within a single Lakehouse or data source at a time. This means that while you can perform operations like merging or joining tables within the same Lakehouse using the editor, it does not natively support querying or joining tables from multiple Lakehouses simultaneously. 

 

If you need to work with data from multiple Lakehouses in the Visual Query Editor, you can create shortcuts to reference tables from other Lakehouses within a single Lakehouse context. This effectively brings data from multiple sources into one place for querying.


Othe ways to join data :

Cross-Database Querying:

  • Cross-database or cross-Lakehouse querying is supported in Microsoft Fabric, but it requires using SQL editors or Notebooks with three-part naming conventions (e.g., [workspace].[lakehouse].[table]) rather than the Visual Query Editor

Hope this helps

Thanks

 

@PanuO

View solution in original post

2 REPLIES 2
nilendraFabric
Solution Supplier
Solution Supplier

Hi  @PanuO 

The Visual Query Editor in Microsoft Fabric is primarily designed to work within a single Lakehouse or data source at a time. This means that while you can perform operations like merging or joining tables within the same Lakehouse using the editor, it does not natively support querying or joining tables from multiple Lakehouses simultaneously. 

 

If you need to work with data from multiple Lakehouses in the Visual Query Editor, you can create shortcuts to reference tables from other Lakehouses within a single Lakehouse context. This effectively brings data from multiple sources into one place for querying.


Othe ways to join data :

Cross-Database Querying:

  • Cross-database or cross-Lakehouse querying is supported in Microsoft Fabric, but it requires using SQL editors or Notebooks with three-part naming conventions (e.g., [workspace].[lakehouse].[table]) rather than the Visual Query Editor

Hope this helps

Thanks

 

@PanuO

Thank you @nilendraFabric, I was a bit afraid of this answer, but I understand it. Visual Query tool is great for people who don't know SQL and want to export data into Excel file and hopefully it will receive cross-lakehouse query support in near future.

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! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!