Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
With Microsoft OneLake integration for semantic models, data imported into model tables can also be automatically written to Delta tables in OneLake. The Delta format is the unified table format across all compute engines in Microsoft Fabric. OneLake integration exports the data with all key performance features enabled to provide more seamless data access with higher performance.
Data scientists, database analysts, app developers, data engineers, and other data consumers can then access the same data that drives your business intelligence and financial reports in Power BI. T-SQL, Python, Scala, PySpark, Spark SQL, R, and no-code/low-code solutions can all be used to query data from Delta tables.
Before implementing a OneLake integration solution in your organization, be sure to read Considerations and limitations later in this article.
Prerequisites
OneLake integration for semantic models is supported on Power BI Premium P and Microsoft Fabric F SKUs only. It's not supported on Power BI Pro, Premium Per User, or Power BI Embedded A/EM SKUs.
Before enabling OneLake integration, you must have one or more import semantic models in a workspace on a Power BI Premium or Fabric capacity. Import semantic model is a type of data model where data is fully imported into Power BI's in-memory storage, allowing fast and efficient querying.
Permissions
Model contributor (read, write, explore) permissions are required to access the contents of a model folder and create shortcuts linking to the folder in Lakehouse explorer.
Enable OneLake integration
In your semantic model settings, expand OneLake integration, click the slider to On, and then select Apply.
Admin portal
Global and tenant admins can control OneLake integration by using the following setting in the Power BI admin portal:
Users can create Fabric items - enables production-ready Fabric features, including OneLake integration. This setting can be managed at both the organizational level and the capacity level. If disabled, users can't turn on OneLake integration for their semantic models, and any semantic models currently configured for OneLake integration stop exporting import tables to OneLake. OneLake integration is enabled by default for the entire organization. The following image shows this setting enabled:
Semantic models can export data to OneLake - enables semantic models configured for OneLake integration to send import tables to OneLake. Applies to the entire organization. The following image shows this setting enabled:
Refresh model
In order for model import data to be written to a Delta table in OneLake, at least one manual or scheduled refresh for the model must be run. Either run a manual refresh or wait for a scheduled refresh.
Export OneLake Delta tables
Delta tables can be exported in many ways. If your semantic model has XMLA read-write mode enabled, you can export programmatically by using the Tabular Object Model (TOM) and Tabular Model Scripting Language (TMSL).
For example, you can use SQL Server Management Studio (SSMS) to run the following TMSL command:
{
"export": {
"layout": "delta",
"type": "full",
"objects": [
{
"database": "<database name>"
}
]
}
}
Explore export files
After exporting, you can use OneLake file explorer, which integrates OneLake with your Windows File Explorer, to locate Delta table export files.
In OneLake file explorer, right click on the workspace folder, and then select Sync from OneLake.
Use Windows File Explorer to locate your data files. In the workspace folder, look for a subfolder with a name that matches your semantic model and ends with .SemanticModel. The semantic model folder includes every import-mode table in a subfolder that contains the Delta table’s parquet files and log.
Shortcuts
By creating shortcuts for your semantic model Lakehouse tables, you can provide quick and easy access to them from other workloads in Fabric.
In Lakehouse Explorer, right-click Tables, and then select New shortcut.
In New shortcut, select Microsoft OneLake.
In Select a data source type, select your semantic model, and then select the tables you want to include.
Considerations and limitations
Workspace Admins, Members, and Contributors, as well as Users with direct Write permission on a semantic model are granted Read permission on the exported artifact folder in OneLake.
Users with Read permission on a semantic model get Read permission to the artifact folder in OneLake only if there are no RLS/OLS roles defined for the semantic model.
Currency data types with values larger than 18 decimal points can have some precision loss when exported to Delta files.
Semantic models in BYOK enabled workspaces aren't supported.
Multi-Geo capacities aren't yet supported.
Measures, DirectQuery tables, hybrid tables, calculation group tables, and system managed aggregation tables can't be exported to Delta format tables.
Old versions of the delta tables are deleted after three days. Other execution engines which use an older but now deleted version of the data must move forward to an available version.