Forum Discussion
Anonymous
6 years agoNot applicable
Power BI Export to file Error
We are using the latest version of the API (V3) I have copied the code examples from here - https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to in my 'PostExportRequest' functi...
Anonymous
6 years agoNot applicable
var fileFormat = FileFormat.PDF
var exportRequest = new ExportReportRequest
{
Format = fileFormat
};
here you go. this should work
Anonymous
6 years agoNot applicable
So I figure out my issue. I was trying to export as .PNG. When I did .PDF it works just fine. Apparently there is a setting that need to be set in the admin portal for .PNG but I can't find it. Does anyone have any luck enabling .PNG?
- Anonymous4 years agoNot applicable
Thanks, changing the export file format to .PDF resolved this issue for me as well!