Forum Discussion
How to update data through different excel files
- 5 years ago
Hi, Niels_T
There are two ways to replace the original data source with a new one in the Power BI desktop:
- Go to Transform data-> data source setting, change the source of data:
- Go to the power query editor, advanced editor, replace the file path to change the data source manually:
Before updating your data source, you should first check if the column name and data type are the same as the columns in the original Excel file. If not, you will get an error.
Then you should update the reference of the next steps according to your actual situation.
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi Niels_T
If you please supply your qury code it'll be clearer what you are trying to do.
If you are just changing the location of the file you can edit the query to point to the new file location.
If you've also changed the sheet name that data is loaded from then you need to change that in the query too.
Regards
Phil