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
grupomacarena
Regular Visitor

Store SQL data that is changing

Hello!

I have a SQL Server database that is modified every three months (some rows are erased). So far I ran a query in SQL, downloaded and stored the Excel files (no more than 2.5 MB each, in total 10 MB annually) but I don't want to make it manually for Power BI.

I need a way to automatically backup the original data in an online database (Azure or simply OneDrive Excel file...I don't mind).

I want to query the last three months of data, and add it to the online database automatically. What would be the easiest option? Thanks in advance! 🙂

1 ACCEPTED SOLUTION


@grupomacarena wrote:

Thanks for the answer @Shahfaisal 

That's exactly what I'd like to do: run a query from the SQL Server and copy it somewhere else. Azure SQL Database is a valid option. How can I perform this?


Follow this for instructions on how to do it -https://docs.microsoft.com/en-us/azure/data-factory/tutorial-hybrid-copy-data-tool

Also,  if you don't need this process to run on a schedule and you want to do it manually every 3 months, you can use SQL Server Import/Export Tool - https://docs.microsoft.com/en-us/sql/integration-services/import-export-data/start-the-sql-server-im...

 

 

View solution in original post

3 REPLIES 3
grupomacarena
Regular Visitor

Thanks for the answer @Shahfaisal 

That's exactly what I'd like to do: run a query from the SQL Server and copy it somewhere else. Azure SQL Database is a valid option. How can I perform this?


@grupomacarena wrote:

Thanks for the answer @Shahfaisal 

That's exactly what I'd like to do: run a query from the SQL Server and copy it somewhere else. Azure SQL Database is a valid option. How can I perform this?


Follow this for instructions on how to do it -https://docs.microsoft.com/en-us/azure/data-factory/tutorial-hybrid-copy-data-tool

Also,  if you don't need this process to run on a schedule and you want to do it manually every 3 months, you can use SQL Server Import/Export Tool - https://docs.microsoft.com/en-us/sql/integration-services/import-export-data/start-the-sql-server-im...

 

 

Shahfaisal
Solution Sage
Solution Sage

One of the simplest option is to use Azure Data Factory (or SSIS if you have an on-prem SQL Server license) to copy the tables from the SQL Server database to an Azure SQL Database.

I wouldn't store the data in Excel if I have the option to use a database - keeping data in a relational database gives you a lot of options to easily anlayze, move, etc.

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.

Top Solution Authors