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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
lyjavier
Helper I
Helper I

Auto-updated semantic model (dataset) in Fabric workspace

Hi,

I am currently facing an issue with the semantic model for a multi-tenancy case in the Fabric workspace.

The scenario is as follows:

  • I have a report with a direct query connection mode (to the lakehouse of tenant A) in Power BI Desktop. After publishing it to the workspace, I have one report (let’s call it "report") and one semantic model (let’s call it "tenantA"). There are many other tenants, such as tenant B, tenant C, tenant D, etc., each with its own lakehouse. Whenever I make changes to the report that require updates to the semantic model for tenant A, I have to download the report, open it in Power BI Desktop, change its SQL endpoint to the lakehouses of tenant B, tenant C, tenant D, and then republish them to the workspace to replace their old semantic models. This is a common scenario known as multi-tenancy. The report is embedded in our web app, allowing tenants to see their dashboards with the corresponding semantic models that refer to their lakehouses.

Is there a way to automate this process at the moment?

 

Thank you in advance!

4 REPLIES 4
lyjavier
Helper I
Helper I

Not aware of this, how can it work for this scenario? Can you walk through me a little bit of this?

Honestly, I am unsure if the library could cover your scenario.You could check more details below.

https://github.com/m-kovalsky/Fabric?tab=readme-ov-file#dataset-refresh

https://learn.microsoft.com/en-us/fabric/data-science/semantic-link-overview



Regards,
Sachin
Check out my Blog

Hi, I've been working with sempy, it's looking good to create a semantic model from bim model file (belong to an existing semantic model), just update the connection string the lakehouse name. But there is new issue with the refresh that semantic model, in Power BI Desktop, I have created a calculated column within a table, but the sempy_labs.refresh_dataset seems not working for semantic model with direct query connection mode? So can I have another approach to make it automatically?

lyjavier_0-1727857051427.png

 

SachinNandanwar
Super User
Super User

Have you tried the SemPy library for semantic model ?



Regards,
Sachin
Check out my Blog

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.