Forum Discussion
How to replace Data Source for existing report?
- 10 years ago
Anonymous In power bi desktop go to query editor, select your table and on the right hand side under Applied Steps click settings icon. You can also without going to query editor - go to File -> Options and settings -> Data source settings >Right click data sources and chnage source.
- 10 years ago
go into Edit Queries. Find the table/query you want to change. Go to the first step in the Query (always called Source) and change it there.
it's actually the same file but saved under difference place, how can i change/replace data source for current report?
go into Edit Queries. Find the table/query you want to change. Go to the first step in the Query (always called Source) and change it there.
- RitaPT9 years agoFrequent Visitor
Someone change the name in table that I import from a database. I tried the option that you mentioned but this only function from Browser. Do you know if it is possible to change the source inside a document - similar to function "Edit Links" from excel?
Thank you.
- Anonymous9 years agoNot applicable
I found it's easy to go 'Edit Queries', then at your 'applied steps' double click 'Source' to browse and re-select the file.
- sandeepk668 years agoAdvocate I
Can we Switch from SQL Server to Oarcle or an EXCEL? The reason, When I tried to change Source in the Source window gives SQL Server database, which is currently being used and can change to another SQL Server database but not an excel or other Database.
and similarly When I tried to Switch from EXCEL based Power BI to SQL Server database ,it gives Source window gives EXCEL file path.
- Anonymous5 years agoNot applicable
Hi,
There is a solution actually. if you go to ‘Transform data’ and ‘Advanced Editor’ so you can change the sql statement of the data source, you can replace the file name with a new one, which means you can change the data source.
Regards
Charlotte
- Anonymous8 years agoNot applicable
We went into Edit Queries and clicked on Data Source settings and we were able to change the SSAS sever name.
- jwang884 years agoFrequent Visitor
Hi Matt,
I have one static Excel as my source file at the momement but it will need a monthly update soon. I have DAX and new measures/caculated columns in it already.
Can you please advise whether it is possible to only update the original worksheet with no impact on the modified part?
Thanks,
Jing
- MattAllington4 years agoCommunity Champion
I don't really understand what you are asking. Are you saying the source data is in the same Excel file as a Power Pivot report? If so, you should separate these out into a source file and a report file. That is best practice
- jwang884 years agoFrequent Visitor
Hi Matt,
My current source file is the Excel file, I created charts based on the file to present in the PBI, lots DAX, measures added onto the original Excel. But from next month, I will need to download the latest version of the EXCEL, data in the excel will be growing, from another app on a monthly basis to reflect the new data coming into the PBI.
My question is, how do I update the content in my existing Excel source file without touching the DAX, measures etc? If I just append, data will be duplicated, correct?
Thanks very much for your time answering my question! Much appreciated.
Regards,
Jing