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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors