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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Export Underlying Data Once Dataset is refreshed

Hi,

Need help, How to export underlying data once data refreshed in power bi service Is there any workaround for this ?

For Example = I have 2 views once these views refreshed in power bi service then automatically views data should export in excel. Is this possible ?

 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi there. You might be able to do it, but if you are just using pro workspaces, it means you need changes to do.

1- Writing Python or R: You can add to your power query code some script with these languages to write to csv a table and continue the ETL. The problem with this solution is that it will force you to use a personal gateway. You can read more here: https://blog.ladataweb.com.ar/post/617917545084846080/powerbi-exportar-un-datos-automáticamente-al

2- If you can afford Power Bi Premium (or PPU), you can use the Rest API to export the data. You can create a script or use PowerAutomate (if you have automate premium) to refresh the dataset and after that export (only premium capacity) or executequery (any premium type max o 100k rows).

I hope that helps,

P/D there are libraries like https://pypi.org/project/SimplePBI/ but export request might have limitations.


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi there. You might be able to do it, but if you are just using pro workspaces, it means you need changes to do.

1- Writing Python or R: You can add to your power query code some script with these languages to write to csv a table and continue the ETL. The problem with this solution is that it will force you to use a personal gateway. You can read more here: https://blog.ladataweb.com.ar/post/617917545084846080/powerbi-exportar-un-datos-automáticamente-al

2- If you can afford Power Bi Premium (or PPU), you can use the Rest API to export the data. You can create a script or use PowerAutomate (if you have automate premium) to refresh the dataset and after that export (only premium capacity) or executequery (any premium type max o 100k rows).

I hope that helps,

P/D there are libraries like https://pypi.org/project/SimplePBI/ but export request might have limitations.


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors