Changing source of existing semantic model to lakehouse delta tables

Sunay Pistulkar 5 Reputation points
2024-07-25T20:34:36.7666667+00:00

Hi,

We newly created a lakehouse in the existing power bi workspace, and I want to change the source of the semantic model to the lakehouse. But it is throwing the following error.
"Semantic model connectivity with the XMLA endpoint"

'XMLA endpoint': it needs multiple approvals, we want to find the workaround, because existing models are very critical and complicated, and creating new ones with precision would be a bigger task.
Please let me know if you have any suggestions or solutions.

Thanks!!

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,373 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Smaran Thoomu 24,110 Reputation points Microsoft External Staff Moderator
    2024-07-29T13:17:43.9566667+00:00

    Hi @Sunay Pistulkar

    Thanks for the clarification. I understand that you need a direct connection to the Lakehouse and want to change the source of the existing Power BI semantic model from SQL Server to the Lakehouse.

    Regarding your question, I think this might be the one possible solution to this problem is to clone the semantic model and change the source in the JSON code. You can do this by exporting the existing semantic model as a JSON file, modifying the JSON file to change the source to the lakehouse, and then importing the modified JSON file as a new semantic model.

    To export the existing semantic model as a JSON file, you can follow the steps below:

    1. Open the Power BI Desktop application and open the semantic model you want to export.
    2. Click on the "File" menu and select "Export" -> "Power BI Template (.pbit)".
    3. Save the .pbit file to your local machine.

    To modify the JSON file to change the source to the lakehouse, you can follow the steps below:

    1. Open the .pbit file you exported in a text editor.
    2. Locate the "connections" section of the JSON file.
    3. Modify the connection string to point to the lakehouse instead of the SQL server.

    Once you have modified the JSON file, you can import it as a new semantic model in Power BI.

    I hope this helps! Let me know if you have any further questions.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.