Occasionally we are asked how to download the .pbix for our reports for editing in Power BI Desktop, or how to move custom reports from one to another Power BI tenant. This blog will show you how to do both. However, the downloaded .pbix will not include the dataset. By design, it is not possible to download the dataset of a Power BI template app. To edit the .pbix in Power BI Desktop you must connect to a PowerStacks dataset in the Power BI service.
Grab the script from the Github link above to get started.
Before proceeding ensure that you have installed the Power BI template app in the new tenant.
If you simply wanted to modify the reports in Power BI desktop and upload them back to the template app in the tenant from which you downloaded them, you may do that also.