-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added from XMLA to pbix workaround doc #67
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
uid: powerbi-xmla-pbix-workaround | ||
title: Creating PBIX File from XMLA Endoint. | ||
author: Morten Lønskov | ||
updated: 2023-10-18 | ||
applies_to: | ||
editions: | ||
- edition: Desktop | ||
none: x | ||
- edition: Business | ||
partial: Tabular Editor 3 Business Edition only allows connecting to the XMLA endpoint of Premium-Per-User (PPU) workspaces. | ||
- edition: Enterprise | ||
--- | ||
# Editing a Power BI dataset through the XMLA endpoint | ||
|
||
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. | ||
|
||
![XLMA to PBIX Overview](~/images/power-bi/create-pbix-from-xmla-overview.png) | ||
|
||
> [!NOTE] | ||
> The described workaround isn't officially supported by Microsoft. There's no guarantee that it works for every model. Specifically, if you've added custom partitions or other objects [not listed here](https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-external-tools#data-modeling-operations), Power BI Desktop may not be able to correctly open the file following this approach. | ||
|
||
## Step 1: Create and save an empty Power BI projects (.pbip) file | ||
|
||
The first step is to create a new Power BI report and save it as an empty Power BI Project (.pbip) file, as depicted in the following diagram. | ||
|
||
![Save PBIP file](~/images/power-bi/save-pbip-file.png) | ||
|
||
This creates a folder structure that contains an empty _model_ file. This _model_ file contains the model metadata. You'll overwrite this metadata in the next step with the metadata of the published model that you want to save to .pbix. | ||
|
||
![PBIP with Model file](~/images/power-bi/pbip-file-bim-model.png) | ||
|
||
Close Power BI desktop, and proceed with the next step in Tabular Editor. | ||
|
||
## 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. | ||
|
||
## 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 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 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. | ||
|
||
## 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove "."