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

How can I export the data behind report visualizations using the REST API

I can see that I am able to export a visualization's data to csv file but can I do it using the API?

 

Screenshot 2023-02-09 at 12.04.36.png

I guess I'll have to use this API call but I don't know how to get the query behind the visualization so I can execute it.

1 REPLY 1
JirkaZ
Solution Specialist
Solution Specialist

Well you can run the Performance Analyzer and refresh the visuals on the page. It will then show you the query. Just keep in mind that the filter context of the visual can change any time. 

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.