Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all Currently i have requirement to generate Power BI report(including visual part) through it's rest APIs.
for that currently i am following below steps
1. Creating power bi template without any datasource in power bi desktop(empty bar chart)
2. uploading that pbix file on power bi service(POST: https://api.powerbi.com/v1.0/myorg/groups/{groupID}/imports?datasetDisplayName=FirstTemplate
3. Create new Dataset on Power BI Service (https://api.powerbi.com/v1.0/myorg/groups/{groupID}/datasets
4. insert data in dataset (created in previous step)
5. Binding Dataset(of previous step) to Report(uploaded in step-2) (POST : https://api.powerbi.com/v1.0/myorg/groups/{groupID}/reports/{reportId}/Rebind)
Request Body :
Hi @UmeshGoti ,
Base on my research, there is no REST API to configure the visual fields directly. You can open the report in Power BI Desktop or Power BI Service and manually adjust the visuals to ensure they correctly reflect the new dataset's schema.
Best Regards
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
4 | |
4 | |
4 | |
3 |