Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
We have created a number of complex reports using live connection to a tabular datamodel.
After publishing, each report turns out to have a dedicated power bi dataset.
This is very confusing for users who want to use a dataset for self-service BI afterwards.
We now want to generate one dataset containing all objects in the tabular model and have all other reports connect to this shared dataset. So only one dataset remains that can be used for all current and new reports.
Is it possible to modify an existing report (that currently uses a live connection to a tabular model) to use a predefined dataset instead?
Many thanks
Solved! Go to Solution.
It is possible, yes.
This is the source that all your reports will use as their source.
Next you will need the PowerShell script from this article.
https://powerbi.tips/2020/05/hot-swap-power-bi-report-connections/
It strips out all the connections from an existing .pbix file.
When you run the script you will be prompted to select a file, that will be one of your existing reports you want to swap over to the new dataset. I suggest making a copy of the report to start with for testing.
It will then open the file and all your visuals will be broken:
Now got to Get Data > Power BI datasets and choose the Master_Data you published in the first steps (or whatever you called it)
Then click 'Create'.
If it all works your visuals should populate and all be linked to the new PowerBI dataset.
Your reports all point to the single PowerBI Master_Data set and that points to your SSAS.
It is possible, yes.
This is the source that all your reports will use as their source.
Next you will need the PowerShell script from this article.
https://powerbi.tips/2020/05/hot-swap-power-bi-report-connections/
It strips out all the connections from an existing .pbix file.
When you run the script you will be prompted to select a file, that will be one of your existing reports you want to swap over to the new dataset. I suggest making a copy of the report to start with for testing.
It will then open the file and all your visuals will be broken:
Now got to Get Data > Power BI datasets and choose the Master_Data you published in the first steps (or whatever you called it)
Then click 'Create'.
If it all works your visuals should populate and all be linked to the new PowerBI dataset.
Your reports all point to the single PowerBI Master_Data set and that points to your SSAS.
This is exactly what I needed.
Many, many thanks
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
92 | |
83 | |
71 | |
49 |
User | Count |
---|---|
143 | |
120 | |
111 | |
59 | |
57 |