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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
akkolbeck
Frequent Visitor

automatic export to excel

Does anyone know if there's a way to have data in Power BI Desktop exported out to an excel document automatically (without having to click on the ellipses and select Export Data) on a recurring basis?

 

Thanks!

7 REPLIES 7
bro10
Frequent Visitor

there is a work around if you are a Premium, PPU user, by creating the table in a separate paginated report and have subscription scheduled to send email with an Excel format attachment 

alexvc
Resolver I
Resolver I

I've managed to do this through the Power BI Excel Add-In. You basically have a pivot table in excel where its data source is the Power BI report itself (with all your columns and measures).

 

You update this as a regular pivot table and it will pull the data straight from Power BI, you just need to make the pivot table

 

 

 

I’ll try this, thanks!
ibarrau
Super User
Super User

I think you would be able to do this with a Trick using R. Add a new step in edit query with R language. In this step you receive the dataset use for e.g. 

write.csv(dataset, file = "MyData.csv")

 Then output the same dataset to continue the steps in edit query. With this, you may be able to generate automatically a .csv file on each update the gateway runs.

 

Regards,

 

P/D You must have R installed in order to make the operation.


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

But then how will my R script run if I finally publish my report?
Even if I use personal gateway this R script is for output data result in file so there is no source data connection in this case!

ibarrau
Super User
Super User

That is not possible with Power Bi. May be another tool can help you. Check DAX studio for example, but don't think this is posible.

 

Regards,


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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.