Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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.
Solved! Go to Solution.
Got the root cause missed to add customData in identities. After adding that it worked
Got the root cause missed to add customData in identities. After adding that it worked
Does it work as expected when you export to PDF from the Power BI Desktop?