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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
vitaly
Helper III
Helper III

How to deploy Direct Lake semantic models?

We have a simple design with Dev, QA and Production workspaces.

 

A lakehouse in Dev has a default semantic model; we are also flexible on switching to a custom semantic model. We would like to deploy the model to higher environments.

 

The first design attempt was to use Deployment Pipelines. This does not work. Deployment pipelines do not support Direct Lake:

 

vitaly_0-1706415370844.png

 

The next attempt involved exploring alternatives via the XMLA endpoint.

 

We've enabled the XMLA read/write endpoint per Model write support with XMLA endpoint. We then tried editing the default model via the Tabular Editor. This is unsupported according to Direct Lake Datasets: How to use them with Tabular Editor:

 

vitaly_1-1706415553312.png

 

Ok. We've switched from a default semantic model to using a custom one. Tabular Editor could then edit and save it. However, this blocks the model from opening up or remaining editable in Power BI Service:

 

vitaly_2-1706415678217.png

 

In addition to the substantial functionality loss (i.e. disabling the Service's model UI for both editing and viewing) there are additional complexities with the Tabular Editor approach. This includes the necessity of workarounds to create the initial model.

 

Finally, we've checked the Fabric REST API. It lacks operations for creating or modifying semantic models.

 

This seems like a major gap in the SDLC around the heavily-promoted Direct Lake feature. It makes it very challenging to use in production.

 

We've checked the Fabric Roadmap and saw no references to announcements around improving this workflow.

 

How does everyone deploy Direct Lake models?

6 REPLIES 6
KevinChant
Regular Visitor

I came up with one method that you can potentially use to do this, but I can't gaurantee that it will be supported or work after future updates:

 

https://www.kevinrchant.com/2024/03/02/initial-tests-to-copy-a-direct-lake-semantic-model-to-another... 

@KevinChant : Thanks for the workaround, i will try it!

 

@v-yetao1-msft : I wonder if microsoft has any plans to implement direct lake semantic models in deployment pipelines and/or git?

cw88
Helper III
Helper III

Does anyone know whether there is now a solution to this problem?

annwallinger
New Member

It is not straightforward how the models can be deployed. How can we make a template and copy it to other warehouses for example?

vitaly
Helper III
Helper III

@v-yetao1-msft 

 

We are looking for advice from Microsoft Direct Lake SMEs and/or the Fabric community to resolve the specific use case detailed in this post. Resending us the same link we originally supplied (which has no solutions) is not very helpful.

v-yetao1-msft
Community Support
Community Support

Hi  @vitaly 

There is no documentation available that directly describes the deployment of Direct Lake semantic models . I hope this official document is helpful.

Learn about Direct Lake in Power BI and Microsoft Fabric - Power BI | Microsoft Learn

 

Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors