cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Automate Power Query Refresh and Import into SQL Server

Hi,

I'm looking for some advice on how to best automate this weekly process:

 

1. Open numerous .xlsx files that use Power Query to connect to Microsoft Dynamics.
          - To elebroate, the .xlsx Power Query uses Source = OData.Feed to connect to Microsoft Dynamics

2. Select Refresh All. Save and close.

3. Open SQL Server Management Studio and use the import wizard to copy data & delete rows in destination table (not append rows).
4. Open the .pbix dashboard, which connect to the Microsoft SQL Server Tables and select Referesh All.

          - It may be possible to streamline the process by having .pbix files point to the .xlsx fles, bypassing SQL Server Management Studio, but there are a number of transformations that are more efficient in SQL Server, which makes this an unfavourable option.

 

Apologies if this is in the wrong section, or if i need to split this up into a few posts. 

Regards, hipau

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: Automate Power Query Refresh and Import into SQL Server

SSIS or Azure Data Factory


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Highlighted
Super User IV
Super User IV

Re: Automate Power Query Refresh and Import into SQL Server

SSIS or Azure Data Factory


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Highlighted
Frequent Visitor

Re: Automate Power Query Refresh and Import into SQL Server

Thanks for your response. I'll take a look into SSIS as a starting point. Is there any particular reason you would choose one over the other?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors