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
Rhothgar
Helper IV
Helper IV

Changing the data source file - best practice?

Hi

It is just over a year ago since I joined this amazing forum.

I've just started a new project for myself.

Basically, I'll keep it simple without providing actual data samples because it will probably take me a week to learn how to provided an example again. Never quite got my head around that so I'll have to read up on that again because I'd bet a pound to a penny that I am going to get stuck pretty soon.

So I created a new power query from a blank workbook.  I linked to the data source which, for now, was just in my Downloads folder and it had 93 rows in it containing sales data for a whole month of June 2024.  I created lots of queries to break down the information into separate queries.

Once I was satisfied with the initial results, I then changed the data source to a new spreadsheet which I renamed to match the old spreadsheet name which I sent to the recycling bin.   The replacement spreadsheet has sales data from June 2024 to Jan 2025.

When I refreshed, EVERY query didn't want to know.  The only difference between the files is that one had 93 rows and the other has 408 rows!

What could be wrong?

I suspect it has something to do with the fact that the data is stored as a table?

source.PNG

I also get this error message on changing the source?

source ERROR.PNG

1 ACCEPTED SOLUTION

Thanks for your input.

Yes it is but I have just cracked it.

Basically, the item named in the error is the sheet name so once I changed that over it has remedied it. The only issue is that I need to change data source and worksheet name under every tab in Navigation step now.

I think I will simply need to remember to rename worksheet every time I download the source file to something common amongst all queries as I do with the filenames generally.  Even when setting a new project up, it is clearly important to maintain a level of consistency in naming conventions.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Rhothgar 
Thank you for reaching out microsoft fabric community  forum.
We appreciate your efforts and are pleased to hear that your issue was resolved. Please mark the helpful response and accept it as the solution. This will assist other community members in resolving similar issues more efficiently.
Thank you.

Thaumaturgist
Helper I
Helper I

Is the new spreadsheet saved in the same location as the old one? If not, that could be causing the error

Thanks for your input.

Yes it is but I have just cracked it.

Basically, the item named in the error is the sheet name so once I changed that over it has remedied it. The only issue is that I need to change data source and worksheet name under every tab in Navigation step now.

I think I will simply need to remember to rename worksheet every time I download the source file to something common amongst all queries as I do with the filenames generally.  Even when setting a new project up, it is clearly important to maintain a level of consistency in naming conventions.

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.

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
Top Kudoed Authors