Forum Discussion

vijay_brock's avatar
vijay_brock
New Member
3 years ago

Power Bi reports exporting through api

In the process of exporting the reports from power bi as PBIX files, I am using the apis and then i came across with an error that the api is not exporting the reports which having size morethan 10MB, i dont know what went wrong, Can you help me in getting the reports exported?

The above i am attaching the screenshots of the code reference and the error i am getting.


 Updating Media

 

 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi vijay_brock ,

    Please make sure that the file you want to download fulfills the following conditions:

    • You can download a file while in either Reading view or Editing view. You must be at least a Contributor to the workspace that the report is in. If the report is based on a dataset in another workspace, you need to be at least a Contributor to that workspace as well.
    • Reports created in Power BI Desktop must be published or uploaded to the Power BI service before you can download them.
    • If you create a report in the Power BI service, you have to save it before you can download it.
    • You can't download reports based on datasets that are imported from OneDrive for work or school.
    • You can't download reports based on local Excel or CSV files that were uploaded to Power BI.

    More details: Download a report from the Power BI service to Power BI Desktop - Power BI | Microsoft Learn

     

    How to Get Your Question Answered Quickly 

     

    If it does not help, please provide more details .

     

    Best Regards
    Community Support Team _ Rongtie

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