Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Guys,
i want to:
1. Create tables and relationships automatically using API from java
2. Prepare some reports in Power BI (it has to be manually set up ? )
3. Generate PDFs with reports from external code
It is possible? Where to read and about what read to get know with these functionalities?
Best,
Jacek
Solved! Go to Solution.
Hi @jaryszek,
You can create a report file that parameterized the connecting string with the query parameter and publish it to the power bi service side. (create report steps seem not able to be achieved programmatically)
Then you can change the parameter on the service side to affect the current data source mapping. (notice: these data sources should have the same data structure as the original report defined)
Using the Power BI Service Parameters to change connection strings (To possibly change between Dev
After these steps, you can invoke the export to PDF API to export the current report.
REST API:
Datasets - Update Parameters In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Regards,
Xiaoxin Sheng
Thank you so much!
Hi @jaryszek,
You can create a report file that parameterized the connecting string with the query parameter and publish it to the power bi service side. (create report steps seem not able to be achieved programmatically)
Then you can change the parameter on the service side to affect the current data source mapping. (notice: these data sources should have the same data structure as the original report defined)
Using the Power BI Service Parameters to change connection strings (To possibly change between Dev
After these steps, you can invoke the export to PDF API to export the current report.
REST API:
Datasets - Update Parameters In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Regards,
Xiaoxin Sheng
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.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 4 | |
| 3 | |
| 2 |