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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors