Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |