Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

How to export Excel file from Power BI report server using URL

Hi All,

 

Is it possible to export a rdl report to Excel file using URL link?

 

Regards,

Jimmy

  • No, there are no changes to server settings required. Did you use the url format from the documentation link?

     

    eg.

     

    https://<server>/ReportServer?/<reportfolder>/<reportname>&rs:Format=PDF

     

    Note that you need to use the Webservice url (/reportserver by default), not the portal url (/reports by default)

9 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for your resply.

       

      Is there any setting needed in the server setting, I have added the paraameter but it did not work.

      • d_gosbell's avatar
        d_gosbell
        Super User

        No, there are no changes to server settings required. Did you use the url format from the documentation link?

         

        eg.

         

        https://<server>/ReportServer?/<reportfolder>/<reportname>&rs:Format=PDF

         

        Note that you need to use the Webservice url (/reportserver by default), not the portal url (/reports by default)

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Guy,

     

    I discovered that if I used rs:format parameter to export as Excel file, the file format is different from the one that I selected from menu bar. Did anybody have idea, please help?

     

     

     

    Regards,

    Jimmy

    • d_gosbell's avatar
      d_gosbell
      Super User

      Anonymous wrote:

      I discovered that if I used rs:format parameter to export as Excel file, the file format is different from the one that I selected from menu bar. Did anybody have idea, please help?

       


      What sort of differences are you seeing? There is only one Excel rendering engine in the product, in theory the menu bar option is just calling in to the rs:format=Excel url endpoint.

      • Anonymous's avatar
        Anonymous
        Not applicable

        When I export the file with rs:format=EXCEL parameter, the file extension is '.xls'. However, if I export using menu bar, the file extension is '.xlsx'. Although they still can be opened by MS Excel program, I want to know if there is a possible solution to export in '.xlsx' by either way