Forum Discussion
Two DWHs in same layer but different workspaces
- 8 months ago
Hi fabricpribeiro ,
Thanks for reaching out to Microsoft Fabric Community.
Thanks to Pragati11 and tayloramy for sharing your valuable inputs.
Just to clarify how this maps to current Fabric behavior: cross-warehouse SQL queries and views are supported when the warehouses are in the same workspace. Direct SQL references across warehouses that live in different workspaces are not supported in Fabric Data Warehouse.
References:
Query the SQL Analytics Endpoint or Warehouse - Microsoft Fabric | Microsoft Learn
Data Warehouse Tutorial: Create a Cross-Warehouse Query in a Warehouse - Microsoft Fabric | Microsoft LearnAs mentioned by tayloramy , a supported way to work around this is to use OneLake shortcuts to bring data from another workspace into a lakehouse in your workspace, and then use that lakehouse as the source for cross-database queries within the same workspace.
Similar threads for reference:
Solved: Cross workspace lakehouse/warehouse queries do not... - Microsoft Fabric Community
Solved: Cross Workspace access - Microsoft Fabric Community
Solved: Creating Warehouse Shortcuts - Microsoft Fabric Community
If the reuse requirement is mainly at the reporting layer, the option mentioned by Pragati11 around centralized or endorsed semantic models also fits within what Fabric supports today.
Hope this helps clarify.
Please reach out for further assistance,
Thank you.
It is absolutely fine to create views and give users access to these views in the domain specific workspaces they are working.
I am guessing you will be creating these views in the Gold layer workspaces that have a DWH.
Another approach could be you keep your Facts & Dims in one Global workspace.
Give users relevant access to this global workspace and they can pull whatever they want in their domain specific workspaces. In this way you can also have a promited tables or semantic models that they can re-use.
So, basically your Globak workspace becomes your main place for Dims & Facts with proper endorsed content.