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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
HayleyL
New Member

Using R to export then import data

Hi, 

I'm fairly new to Power Bi and have historically used Report Builder to report from my SQL Database (Housing Management System with no data warehouse). 

I have a gateway set up so the scheduled refresh aspect is fine. What I would like to do is export some of the data weekly (two columns and about 1200 rows), and then import it back with a date stamp or unique numerical value so I can then look at trends over a period of time. Each export will contain the same unique ID numbers with different values. 

From research I believe I can use R to export and them import the data, I can then use Time Series to use my historical and current figure to make predictions. 

I am just struggling to find any help with how to do all the steps together. 

 

Any help would be appreciated thank you. 

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Do you get new records every week? Or are you exporting the same records to see changes? Ideally, your database would keep the change history that you could bring in directly. If not, you could use report builder to create a paginated report that you subscribe to weekly in csv format, and then use Power Automate to trigger off those emails and then save the files with a name with the date (probably to a SharePoint library).  You could then combine the files in Power Query.

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

1 REPLY 1
mahoneypat
Microsoft Employee
Microsoft Employee

Do you get new records every week? Or are you exporting the same records to see changes? Ideally, your database would keep the change history that you could bring in directly. If not, you could use report builder to create a paginated report that you subscribe to weekly in csv format, and then use Power Automate to trigger off those emails and then save the files with a name with the date (probably to a SharePoint library).  You could then combine the files in Power Query.

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.