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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
bsrikanth88
New Member

Power BI REST API ExportToFileInGroup not exporting data.

Hi,

I'm trying below mentioned request for export report with current values using API, The export is working fine, but when I open the exported pdf or png I didn’t see the values in report. I appreciate if somebody help me to solved this

curl --location 'https://api.powerbi.com/v1.0/myorg/groups/xxxxxxx-xxxx/reports/xxxxx-xxxxx/ExportTo' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer XXXXXXXXXXXX' \
--data '{
"format": "PDF",
"powerBIReportConfiguration": {
"identities": [{
"username": "XXXXXXXXXXX",
"roles": ["XXXXXXXXXXXXX"],
"datasets": ["XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX"]
}
]
}
}'
Response was success and got the report blob and saved to local. After opening the report observed values are missing.

1 ACCEPTED SOLUTION
bsrikanth88
New Member

Got the root cause missed to add customData in identities. After adding that it worked

View solution in original post

2 REPLIES 2
bsrikanth88
New Member

Got the root cause missed to add customData in identities. After adding that it worked

lbendlin
Super User
Super User

Does it work as expected when you export to PDF from the Power BI Desktop?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.