Edit 24thJune 2021: Unfortunately this method is currently not working any more.
The other day I discovered a neat way to split up an existing Power BI report into a Golden Dataset and a thin report file with very few adjustments to the existing setup. Imagine you have a Power BI report published for some time already in an app with row level security. Now, you want to create other reports from the dataset as well and decide it’s time to create a golden dataset from which multiple other thin reports can also be fed from as well. But ideally you want to keep your published app, that many users are working with already, unchanged.
Simply follow these steps in meticulous order and the world is yours 🙂
Steps to split up existing Report to Golden Dataset
- Create a copy of your existing pbix and give it the name for your new Golden Dataset.
- Go to the Power BI service and rename the dataset (!) of your original file to the new name of your Golden Dataset.
- Publish your Golden dataset pbix to the service. Make sure that you will be prompted with a warning that you’re going to overwrite an existing dataset (!). (Otherwise your new names haven’t matched 😉 )
- Next open your orginal pbix and delete all data sources as Rui has described in his post. That includes DAX tables and calculation groups in Tabular editor as well. This will create warnings in all your visuals but eliminating all data sources is actually a prerequisite for the next step.
- Click “Get Data” and choose “Power BI dataset” and then connect to the new Golden dataset in the service. If all went according to plan, all visuals should work again.
- Publish this report to the service. Again, a warning that you’re about to overwrite an existing report (!) should appear that confirms you’re at the right track.
- Publish the pbix with the golden dataset a second time. That will create another report in the service with the same name than the one from the existing app as what looks like a duplicate. (But they have 2 different IDs)
- Rename this “duplicate” report (“MyReport”) to the name of your golden dataset (“MyGoldenDataset”). Otherwise you will get problems with trying to upload another version of your “thin” report file. Take care not to rename the original file. You can identify them by their Report IDs, which are the last part of their URLs (as report and as app):
That’s it! No copy-pasting visuals, rebinding or re-doing of security settings – quick and fast.
Enjoy and stay queryious 😉