Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Developmentguy
Regular Visitor

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 7
Developmentguy
Regular Visitor

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? 

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.

Hi @lbendlin , isn't there a way to export single visual with filter/slicer applied? I have multiple visuals in one page.

Not to my knowledge.

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

lbendlin
Super User
Super User

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.