Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Your file has been submitted successfully. We’re processing it now - please check back in a few minutes to view your report.
03-24-2025 15:03 PM - last edited 03-24-2025 15:05 PM
Check here to see the latest version.
%pip install semantic-link-labs
import sempy_labs as labs dataset = '' # Enter your dataset name workspace = None # Enter your workspace name (if set to None it will use the workspace in which the notebook is running)
labs.list_qso_settings(dataset=dataset, workspace=workspace )
Setting 'auto_sync' to True will ensure that the semantic model automatically syncs read-only replicas. Setting this to False will necessitate syncing the replicas (i.e. via the qso_sync function).
The 'max_read_only_replicas' is the maximum number of read-only replicas for the semantic model (0-64, -1 for automatic number of replicas).
labs.set_qso(dataset=dataset, auto_sync=False, max_read_only_replicas=-1, workspace=workspace)
labs.qso_sync(dataset=dataset, workspace=workspace)
dfA, dfB = labs.qso_sync_status(dataset=dataset, workspace=workspace) display(dfA) display(dfB)
labs.disable_qso(dataset=dataset, workspace=workspace)
labs.set_semantic_model_storage_format(dataset=dataset, storage_format='Large', workspace=workspace)
labs.set_semantic_model_storage_format(dataset=dataset, storage_format='Small', workspace=workspace)
https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fsemantic-link-labs%2Fblob%2Fmain%2Fnotebooks%2FQuery%2520Scale%2520Out.ipynb