Power BI Dataset Scale-Out (preview)
Power BI Dataset Scale-Out helps Power BI deliver fast performance while your reports and dashboards are consumed by a large audience. Scale-Out uses your Premium capacity to host copies of your dataset. By increasing throughput, the dataset copies ensure that performance doesn’t slow down when multiple users submit queries at the same time.
When Power BI creates the dataset copies, it separates read-only copies of the dataset from a read/write copy of the dataset. The read-only dataset copies serve the Power BI report and dashboard consumption, and the read/write dataset copy is used when write operations and refreshes are performed. During write operations and refreshes, the read-only dataset copies continue to serve your reports and dashboards without being disrupted. When needed, the read-only and read/write datasets are synced so that the read-only copies are kept up-to-date. Using this method, Power BI Dataset Scale-Out reduces the impact of write operations and dataset refreshes on your capacity.
Only XMLA endpoints and advanced APIs connect to the read/write dataset copy. All other operations connect to the read-only dataset copy. The table below lists the required sync for each refresh method, when Power BI Dataset Scale-Out is enabled.
| Refresh method | Sync |
|---|---|
| OnDemand UI | Always syncs |
| Scheduled Refresh | Always syncs |
| Basic REST API | Manual sync required |
| Advanced REST API | Manual sync required |
| XMLA | Manual sync required |
Prerequisites
Before you enable Power BI Dataset Scale-Out, verify that the following Prerequisites are met.
Your workspace resides on a Power BI Premium capacity:
- P SKUs
- A SKUs for Power BI Embedded (also known as embed for your customers).
Your workspace is configured to use the Large datasets storage format.
XMLA read/write is enabled.
Power BI Management cmdlets. Install by opening PowerShell in Administrator mode, and running the command:
Install-Module -Name MicrosoftPowerBIMgmtThe following (or higher) app, library and service versions:
App, library or service Version Microsoft Analysis Services OLE DB Provider for Microsoft SQL Server (MSOLAP) 16.0.20.201 (March 2022) Microsoft.AnalysisServices.AdomdClient (ADOMD.NET) 19.36.0 (March 2022) Power BI Desktop June 2022 SQL Server Management Studio (SSMS) 19.0 Preview 4 Tabular Editor 2 2.16.6 Tabular Editor 3 3.2.3 DAX Studio 3.0.0
Enable Dataset Scale-Out
Power BI Dataset Scale-Out is enabled by default for your tenant. However, you'll need to enable it for each workspace individually.
Enable Scale-Out for your workspace
Use the XMLA endpoint to turn on Scale-Out for each workspace you want to enable it for. Make sure that the XMLA endpoint has been enabled for read-write.
Start SQL Server Management Studio (SSMS) and in the Connect to Server dialog box, fill in the fields as listed below.
Field Value Server type Analysis Services Server name Paste the workspace connection string. You can get the connection string by going into your workspace settings, selecting Premium and copying the Workspace Connection string. Authentication Select the correct authentication type for your environment User name Provide a valid UPN Select Connect.
In the Object Explorer pane, select the Databases node.
In the toolbar, select XMLA. If a Connect to Analysis Services dialog box appears, select Connect.
Paste the following request into the XMLA window. Replace
[WorkspaceName]with the name of your workspace.<Execute xmlns="urn:schemas-microsoft-com:xml-analysis"> <Command> <Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"> <Alter ObjectExpansion="ObjectProperties" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"> <Object /> <ObjectDefinition> <Server xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200" xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300" xmlns:ddl400="http://schemas.microsoft.com/analysisservices/2012/engine/400" xmlns:ddl400_400="http://schemas.microsoft.com/analysisservices/2012/engine/400/400" xmlns:ddl500="http://schemas.microsoft.com/analysisservices/2013/engine/500" xmlns:ddl500_500="http://schemas.microsoft.com/analysisservices/2013/engine/500/500"> <Name>[WorkspaceName]</Name> <ServerProperties> <ServerProperty> <Name>Feature\PBIP\QueryScaleOut</Name> <Value>1</Value> </ServerProperty> </ServerProperties> </Server> </ObjectDefinition> </Alter> </Batch> </Command> <Properties /> </Execute>Select Execute.
Disable Scale Out for your workspace
To disable Power BI Dataset Scale out for your workspace, set the value field to zero.
<Value>0</Value>
For more information, see the code snippet in Enable Scale-Out for your workspace, step 5.
Disable Scale-Out for your tenant
Power BI Dataset Scale-Out is enabled by default for each tenant. A Power BI admin can disable this tenant setting. To disable Dataset Scale-Out, follow the instructions below.
Go to your tenant settings
In Scale-out settings, expand Scale-out queries for large datasets.
Toggle the switch so that it shows Disabled.
Select Apply.
Connect to a specific dataset type
When Scale-Out is enabled, the following connections are maintained.
Power BI Desktop connects to the read-only dataset by default.
Live connection reports, are connected to the read-only dataset copy.
XMLA clients are connected to the read/write dataset copy by default.
Refreshes in Power BI service and refreshes using the Enhanced Refresh REST API, are connected to the read/write dataset copy.
You can connect to specific type of dataset copy by appending one of the following strings to the dataset's URL.
- Read-only -
?readonly - Read/write -
?readwrite
Considerations and limitations
Client applications can connect to the read-only dataset copy through the XMLA endpoint, provided they support the mode specified on the connection string. Client applications can also connect to the read/write instance using XMLA endpoint.
Manual and scheduled refreshes are automatically synchronized with the latest version of the read-only dataset copies. REST API refreshes must be synced with the read-only dataset copies using the manual sync REST API.
XMLA updates and refreshes must be synced with the read-only dataset copies using the Sync REST API.
When deleting a Power BI Scale-Out dataset, and creating another dataset with the same name. Allow five minutes to pass before creating the new dataset. It might take Power BI a short while to remove the copies of the original dataset.
Backup and restore operations are not supported for Power BI Scale-Out datasets. If you want to restore a dataset, disable Scale-Out before you restore the dataset. After the restore operation ends, you can enable Scale-Out again.
When Power BI Dataset Scale-Out is turned on, changes to the following features, are not supported:
- Model roles for RLS and OLS
- Tables that use DirectQuery and Dual data sources
To make changes to these features, disable Scale-Out and allow a few minutes for the change to take place.
Next steps
Feedback
Submit and view feedback for