Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Get current folder path in M language for dynamic folder path logic

It's possible to get the current folder path of a file using a formula in Excel. This value can then be passed into Power Query. This works fine for data models and visualizations built entirely in Excel. If the model is built in Power BI Desktop, there's currently no method to land this data into the data model.
Status: Needs Votes
Comments
jekyg
New Member
This is an important feature to get all of the sources in the same folder as the .pbix file.
fVoss
Advocate I
I think this idea could be merged with the one in the following link https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/9665565-support-relative-path-to-excel-csv-sources
fbcideas_migusr
New Member
Status changed to: Needs Votes