The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I have a problem when I need to share Power Query workbook on my local PC to another user. All of the hard coded paths that refer to my local files all have to be rewritten to send the workbook to other user.
How can I solved this, is there any default parameter that can be used so i can avoid rewrite hard coded paths?
Also what I'm looking here is in some how set up a VBA Macro that can pick up the folder to refresh the table already created. Is this possible in Power query ?
Thanks and regads.
Solved! Go to Solution.
You do not really change paths within PowerQuery. Instead, you take advantage of the fact that you can read the current workbook filename and path using the CELL("filename",B6) function and the standard Data From Table Range. More details can be found in the blog below:
https://www.excelguru.ca/blog/2014/11/26/building-a-parameter-table-for-power-query/
You do not really change paths within PowerQuery. Instead, you take advantage of the fact that you can read the current workbook filename and path using the CELL("filename",B6) function and the standard Data From Table Range. More details can be found in the blog below:
https://www.excelguru.ca/blog/2014/11/26/building-a-parameter-table-for-power-query/