Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
vsomireddy
New Member

How to Convert ExportToFile API JSON response into PDF File

We have embedded Power BI reports in Salesforce. Just trying to develop custom button to export Embedded Power BI Report into PDF. I am using following Power BI API's to generate PDF file. It is working fine from API's point of view but I am not sure how to convert JSON response into PDF file. Can someone help me how to convert JSON response which i have generated in step3 into PDF file?

 

Step 1- Export To File in Group ( to get Export ID)

POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/ExportTo

Step 2- Check the Status of File 

GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/exports/{exportId}

Step 3 - Get File Of Export To File

GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/exports/{exportId}/file

1 REPLY 1
Anonymous
Not applicable

Hi  @vsomireddy ,

You can try the following URL to convert Json to PDF:

https://cdkm.com/json-to-pdf

https://pdfmall.com/json-to-pdf

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors