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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Changing source from imported Excel to SQL Server Query

An end user created beautiful visualizations using an imported spreadsheet into SQL. Is there anyway to seamlessly switch the data source from Excel to an SQL Server Query?

 

The query from the imported spreadsheet was named 'Sheet1'. I tried renaming it to 'OldSheet1' and naming the SQL Server query 'Sheet1', but the visualizations lost all the data. When I clicked on the 'Fix This' button on each visualization, the visualization simply disappeared.

 

Thanks in advance!

 

 

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

So, create a new query that connects to the SQL Server. Make sure that all the column names and such are the same. Go into Advanced Editor and copy the Source line. Go into the Excel query, into Advanced Editor and replace the Source line there, maybe the navigation step as well. As long as the query stays the same name and all the columns, you should be OK.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.