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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PPK2698
Helper II
Helper II

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors