Forum Discussion
Can't Load Template Without Data
- 5 years ago
Hi dustinb
The old data source information is stored in the template file. Since you have connected to these data sources from your computer before and the credentials are stored in your Power BI Desktop, it will connect to these data sources automatically when you open a template file or import a template into a blank report on the same computer. If you open it on another computer, it will pop up a window to let you enter the credentials to connect to these data sources.
If you want to change data sources, you can change it in Data source settings or in Advanced editor of Power Query. Reference: https://www.c-sharpcorner.com/article/how-to-change-data-source-of-existing-report-in-power-bi/
Regards,
Community Support Team _ Jing Zhang
If this post helps, please consider Accept it as the solution to help other members find it.
When you are using Pbit file you need to first connect to the current data and then start working!
Shouldn't I be able to import the template either way? Here is what I've tried:
- Import template in blank report
- Queries/tables from previous project are auto inserted
- Open new report
- Connect to xls data source
- Run query, load tables
- Import template
- queries and tables from previous project automatically overwrite current data
What am I doing wrong?
- v-jingzhang5 years agoCommunity Support
Hi dustinb
The old data source information is stored in the template file. Since you have connected to these data sources from your computer before and the credentials are stored in your Power BI Desktop, it will connect to these data sources automatically when you open a template file or import a template into a blank report on the same computer. If you open it on another computer, it will pop up a window to let you enter the credentials to connect to these data sources.
If you want to change data sources, you can change it in Data source settings or in Advanced editor of Power Query. Reference: https://www.c-sharpcorner.com/article/how-to-change-data-source-of-existing-report-in-power-bi/
Regards,
Community Support Team _ Jing Zhang
If this post helps, please consider Accept it as the solution to help other members find it.- Anonymous5 years agoNot applicable
Hello dustinb , v-jingzhang ,
I am not attempting to provide an answer, so please bear with me. I believe I have experienced been through the pain and hence my interest.
I think, the question can be interepreted in 2 ways:
- When I open a Power BI template using Power BI Desktop, why does it always fetch data from the underlying data source? (I just want to open the template and view the design, so why do a long connection)
- When I open a Power BI template using Power BI Desktop, how do I specify the connection parameters of the underlying data source?
I think Question 1 is a limitation of the product. Power BI needs "some data source" and use the data source +template combination to create a PBIX.
I think Question 2 can be addressed easily via parameters.
Thanks,
Sau