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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
jos818
Frequent Visitor

Best practice - Switching data source xlsx to SQL table

Hi, I have a pbix currently populated using 3 local excel files. Im looking to set automation and publish the dashboard to eliminate the need for manual processes, the benefit will be daily refresh on the dashboard effectivelessly.

There are currently 40 tabs in PBIX each with over 5 visuals so any time spent not having to repoint data source, measures etc would be greatly appreciated.

Is there a quick way in PBI to simply switch the data source over to the new? 

 

Many thanks in advance.

1 REPLY 1
HotChilli
Super User
Super User

Each of the 40 tabs has nothing to do with the data connection.  The data connection is per each query in Power Query and it will be one line in each query. 

The challenge will be to do with the structure of the data and any differences between Excel and SQL Server.

3 Excel files may contain individual tables (which are extracts from the SQL database? - it doesn't say this in your post so I'm guessing) and it may be as simple as replacing the connection line in each query to use

Sql.Database

with appropriate parameters, instead of 

Excel.Workbook

If that was the case, happy days but I suspect it won't be so straightforward.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Kudoed Authors