Forum Discussion
Uploading .pbix file to powerbi service using Power BI Rest API
Hi All,
Can we upload .pbix files to Power BI service using Power BI Rest API?
We are planning to create an admin tool(kind of a user interface), where user can upload .pbix files to power bi service. And also user should able to assign the uploaded templates to different customers.
Please check this sample getting-started-for-dotnet-import on Github.
The sample shows you how to use the Create Import operation to upload a PBIX file to Power BI. This allows you to take a package of content in a PBIX file, and import it into a Power BI workspace. The Imports API splits the PBIX package into its individual parts including datasets and reports. It will then provide a metadata link between the actual import operation and the objects that were created from it.
4 Replies
- Eric_ZhangMicrosoft Employee
Please check this sample getting-started-for-dotnet-import on Github.
The sample shows you how to use the Create Import operation to upload a PBIX file to Power BI. This allows you to take a package of content in a PBIX file, and import it into a Power BI workspace. The Imports API splits the PBIX package into its individual parts including datasets and reports. It will then provide a metadata link between the actual import operation and the objects that were created from it.
- SunkariResponsive Resident
Eric_Zhang:Thanks Eric
- krish_powerbiNew Member
I dont see anything on Github.
- krish_powerbiNew Member
We are not able to find anything on gihub page, could you please check and post it again, Thanks.