Forum Discussion
Change excel data source in Power BI report
Hi,
Is it possible to change the excel data source by pointing at a new excel file, as I do not wish to overwrite the existing excel file, used as data source?
I have created a Power BI report with a local excel data source, called e.g. "March data".
Now I want to update the Power BI report with an updated excel file (containing same columns), but the file is now called "April data".
Is this possible? Since I do not want to overwrite the exisiting "March data" file with the data from the "April data" file.
4 Replies
- Greg_DecklerCommunity Champion
Yes, use the View | Advanced Editor and you should see a first two lines of something like:
let Source = Csv.Document(File.Contents("C:\temp\powerbi\dates.csv"),[Delimiter=",", Columns=2, Encoding=1252, QuoteStyle=QuoteStyle.None]),Edit the path of your file and you should be in business.
- syldiaRegular Visitor
Can I change the file type as well? Excel to online mySQL db table?
- AnonymousNot applicable
Hi,
I am also facing same problem. I built report in power bi using excel as data source, now want to replace it wqith sql server. Is there a method to do this?