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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Louis123
New Contributor

Export to PNG a single visual via Rest API

HI All,

I am trying to export a single visual (bar chart) in a report to a PNG file including passing a year paramter for the year.

Unfortunalety it does  not take the year no matter what vararions I play with and it also exports all the other visuals.

Bookmarks seems to be a way out to some extend but it has other downsides.

Can someone from MS state if this will be fixed anytime soon?

Thanks,
2 REPLIES 2
lbendlin
Esteemed Contributor III

Reports - Export To File In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn  will only go down to report page level, not to visual level. You can get the page ID from the Embedded Playground (for example).  Make sure you specify both table and column when you are adding a filter.

v-dineshya
Honored Contributor II

Hi @Louis123 ,

Thank you for reaching out to the Microsoft Community Forum.

 

Hi @lbendlin , Thank you for your prompt response.

 

Hi @Louis123 , Please refer below community thread related to your query, which was resolved by @lbendlin .

 

Solved: PowerBI API ExportTo individual page/visual - Microsoft Fabric Community

 

I hope this information helps. Please do let us know if you have any further queries.

 

Regards,

Dinesh

Helpful resources

Announcements
Top Kudoed Authors
Users online (2,074)