Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi Guys,
i want to do 2 things using power BI premium per user license (only 1 user and 1 license).
I want to connect with REST API from java and:
1) change programatically data source for specific report/dahsboard
2) generate specific reports into pdf for specific customer.
Can anybody say how to do this?
Solved! Go to Solution.
1) change programatically data source for specific report/dahsboard - Do you have a Power BI report or a Paginated Report?
For Power BI report you can change the data source of the dataset using this API:
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources-in-group
For Paginated report you have this API for changing the data source:
https://docs.microsoft.com/en-us/rest/api/power-bi/reports/update-datasources-in-group
2) generate specific reports into pdf for specific customer.
The REST API for exporting to PDF requires Premium/Embedded capacity (unless you're exporting a paginated report)
report can be exported to pdf file
Reports - Export To File In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs
1) change programatically data source for specific report/dahsboard - Do you have a Power BI report or a Paginated Report?
For Power BI report you can change the data source of the dataset using this API:
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources-in-group
For Paginated report you have this API for changing the data source:
https://docs.microsoft.com/en-us/rest/api/power-bi/reports/update-datasources-in-group
2) generate specific reports into pdf for specific customer.
The REST API for exporting to PDF requires Premium/Embedded capacity (unless you're exporting a paginated report)