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
smpa01
Super User
Super User

Capturing data changes

Hello experts,

 

I have built a report by consolidating several data sources. This report is refreshed on daily basis and I need to capture the changes on a dily basis.

In order to that,I need to force Power BI to email me the excel report for self-archiving on a daily basis which in turn becomes the running data source for succeeding comparisons/reports (kind of like a running total calculation).

The way to force power bi to email an excel is by utilizing power bi report builder. Unfortunately, paginated reports are disabled by my organisation admin.

My question is there any other way (e.g. by utilizing R script) for me to force power bi to email an excel attachment of my report?

Thank you in advance.

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
6 REPLIES 6
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @smpa01 ,

 

check out this blog post from @ImkeF .

https://www.thebiccountant.com/2019/04/01/export-data-from-power-bi-using-microsoft-flow/

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


@mwegener thanks but don't have power automate, so can't use it. Looking for a R/Pyhton solution if possible.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @smpa01 ,

 

@ImkeF  has a solution here too 😉

https://www.thebiccountant.com/2018/12/29/export-data-from-power-bi-to-csv-using-python/

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


@ImkeF I want to run a similar solution from Power BI service. The method that you discussed here can export a dataframe to the local drive.

In order for me to adapt this to my scenario I was wondering if it is possible

to

run a pythin script in power bi service

which

would export the dataframe in csv/excel

and

email (as unlike power bi desktop the script would not find my local drive when run in service)

or

send the output to an office 365 shareporint folder

 

Thank you in advance.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
ImkeF
Community Champion
Community Champion

Hi @smpa01 ,

haven't tried that yet.

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

@mwegener thanks I will come back to you on this soon.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

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.