Forum Discussion
Excel data source name change
- Anonymous9 years ago
Matthias93 As long as it's just the name of the Excel file, then you shouldn't have any issues making the change as you describe.
If you are really converned about the PBIX, you can just "Save As" a copy of it and "test" the connection change with both files in the data source location.
- 9 years ago
Hi Matthias93,
Yes, you can do that. but just ensure 2 excel files have same structure, header names. This is common way that used to change data source setting.
For safe, you could copy/clone your pbix file and try with copied file.:smileyvery-happy:
Matthias93 As long as it's just the name of the Excel file, then you shouldn't have any issues making the change as you describe.
If you are really converned about the PBIX, you can just "Save As" a copy of it and "test" the connection change with both files in the data source location.
- TimKroemer9 years agoFrequent Visitor
Anonymous Thank you for your reply Eno - can you also please help, what to do if the name of the source sheet has changed? I have a standard report but the name of that report has been changed - resulting in a different sheet name in the Excel file now containing the data - I can point PowerBI to the new file - but how do I tell it the new Excel sheet name?
Thank you in advance for your time and help!
Gratefully,
Tim
- Anonymous9 years agoNot applicable
TimKroemer As long as the data structure hasn't changed you shouldn't have any issue editing the query.
Edit Queries -> Edit Queries -> Advanced Editor
Replace the file name under Source
And the tabs should show up something like "ztest_Sheet = Source{[Item="test",Kind="Sheet"]}[Data],"
You can see that originally I pulled in a tab called "ztest", then I changed the actual source file and changed the tab name to just "test" which I replace in that connection string. Works fine.
- TimKroemer9 years agoFrequent Visitor
Anonymous Thank you very much for your time and help!
Gratefully,
Tim