Forum Discussion
Power BI Export to file Error
You define the pages but then do not specify them in the request.
(You also use Export export instead of var export but I guess that doesn't matter)
I deleted the line with 'pages' since yes, I'm not using them.
If I don't specify pages, then it'll export the whole report, right?
- Anonymous6 years agoNot applicable
In the main application, the C# simply won't move past that line - do not know why. Nothing I do will work to move it past there.
- lbendlin6 years agoSuper User
That would make too much sense. So better test with specifying the pages , just in case...
- Anonymous5 years agoNot applicable
Have you found a resolution for this. Stuk with the same issue!
- Anonymous4 years agoNot applicable
I found when I tried to export the file as a .PNG or a .CSV then the api call never worked and just hung permanently. But when I changed the export format to .PDF then it worked fine and the code was able to move on to the 'polling for export to finish' logic.
- Anonymous4 years agoNot applicable
hi, did you use the sample code that is in the microsoft doc?
if not, can i see you your code .
thanks