Skip to content

Commit

Permalink
Fixes based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
mlonsk committed Oct 19, 2023
1 parent 4646197 commit 56ef8ab
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
Binary file modified images/power-bi/create-pbix-from-xmla-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/power-bi/pbip-file-bim-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 11 additions & 6 deletions te3/powerbi-xmla-pbix-workaround.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ applies_to:

Once a change is made to a Power BI semantic model through the XMLA endpoint, it's not possible to download the dataset as a .pbix file from the Power BI service.

However, with the Power BI Project file, it's possible to create a pbix file from the remote model by following the three-step process, which is described as follows.
However, with the Power BI Project file, it's possible to create a .pbix file from the remote model by following the three-step process, which is described as follows.

![XLMA to PBIX Overview](~/images/power-bi/create-pbix-from-xmla-overview.png)

Expand All @@ -36,19 +36,24 @@ This creates a folder structure that contains an empty _model_ file. This _model
Close Power BI desktop, and proceed with the next step in Tabular Editor.


## Step 2: Open and save the model as .pbip
## Step 2: Open XMLA model with Tabular Editor and save the model as .pbip

With Tabular Editor open, connect to the Fabric workspace via the XMLA endpoint. Load the Power BI semantic model you want to convert to a .pbix.

Using _File > Save as..._, navigate to the Power BI Project folder. Overwrite the _model_ file shown in the previous diagram.
## Step 3: Save XMLA model into .pbip

In Tabular Editor using _File > Save as..._, navigate to the Power BI Project folder. Overwrite the _model.bim_ file shown in the previous diagram.

This will save the remote model into the Power BI Project that will now contain the model metadata.


## Step 3: Save to .pbix and open this file in Power BI Desktop
## Step 4: Save to .pbix and open this file in Power BI Desktop

![PBIP with Tables](~/images/power-bi/pbip-includes-tables.png)

Open the .pbip and save it to a .pbix using _File > Save As..._ in Power BI Desktop.
Open the .pbip and the Power BI report will now contain the XMLA endpoint semantic model.

Save it to a .pbix using _File > Save As..._ in Power BI Desktop.

You know have the .pbix that contains the model that was published to the Fabric workspace. When you open the .pbix, you can _re-hydrate_ the file, meaning that you load the data based on the connections specified in the model.
## Re-hydrate .pbix
The .pbix now contains the model that was published to the Fabric workspace. When you open the .pbix, you can _re-hydrate_ the file, meaning that you load the data based on the connections specified in the model.

0 comments on commit 56ef8ab

Please sign in to comment.