Boris Lipschitz on 08 Sep 2015 10:25:40
Currently, when excel file is loaded to Power BI, the absolute filepath is captured in the M query. It would be nice if relative filepath was supported. Thus we could place excel file next to pbix and not worry about the file location (local machine, shared folder on server or onedrive)
- Comments (59)
RE: Support relative path to excel/csv sources
Hi, super important feature. Not only for the flexibility of being able to distribute these models with their source files, but also because if your model is in an older excel version, when updated, the 'existing connections' option is no longer available, so you cannot even edit the path any more.
RE: Support relative path to excel/csv sources
It is ridiculous that this is not yet supported
RE: Support relative path to excel/csv sources
I would expect Microsoft would consider such a useful idea, almost 3 years since the suggestion was made and not available yet. The vitality of a software product is done by the amount of developers and end-users. Most passionate end-users are the ones making these suggestions.
RE: Support relative path to excel/csv sources
I would agree this would be a great feature. Another option that may be easier to implement is to enable PowerBI to identify its own path so we can then use this as a parameter when pointing to datasources stored in the same folder. Excel has a simple formula to identify its own path which is SourceFilename = ThisWorkbook.Path so perhaps PowerBI can replicate this.
RE: Support relative path to excel/csv sources
I think it will be very useful to support relative path, this way, you can send a pbi file to someone else and ask them to place the source files in the same folder.
The query will be looking at it's own containing path as the local path. so if the source is somefile.csv, it will defaultly look into the current folder it's running from
RE: Support relative path to excel/csv sources
Any update from the dev team on relative paths?
RE: Support relative path to excel/csv sources
Absolutely necessary to make it comfortable
RE: Support relative path to excel/csv sources
Would love to see this implemented... I have a report with several queries, and would like to keep each query in a separate file, which would then be stored in git. It would enable us to easily review changes to specific queries and rollback when necessary.
I could achieve that with relative reference to query files in the same folder as the pbix file is.
RE: Support relative path to excel/csv sources
Hi, I would appreciate this as well. It is very useful for deploying template reports in applications.
RE: Support relative path to excel/csv sources
Hi there,
I would appreciate this feature. We are trying to deploy a dashboard template with the data source in the same folder. For my teammates it would be very helpful, not to change the source path.