Forum Discussion

Developmentguy's avatar
Developmentguy
Regular Visitor
2 years ago

Export api using .net 4.5 sdk

I am working on a project that is based on .net version 4.5, I want to acheive the export to pdf functionality of Power Bi reports.

I tried to use the ExportReportInGroupAsync but its not working, it is return a stream of curropt file which can not be opened.

 

Anybody know is it supported for 4.5 or even 4.7?

7 Replies

  • Isn't 4.5 deprecated already?  This should work with 4.7

  • Hi lbendlin  I managed to work on the REST api, and now I have completed the export to pdf (full page along with filters), Now I am looking for a way to export a single visual with filter/slicers applied.

    any idea? is it possible? 

    • lbendlin's avatar
      lbendlin
      Super User
      Now I am looking for a way to export a single visual with filter/slicers applied.

      That's a bit of a contradiction.

       

      Anyway - put that visual on its own page and export that page.

      • Developmentguy's avatar
        Developmentguy
        Regular Visitor

        Can I dynamically/programmatically add to its own page and then perform export without knowing the end user?