Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
My source files (about 40 of them) have been moved from one file director to another. Please does anyone know a quick way of changing all the file paths in the query editor?
Thanks,
CM
Solved! Go to Solution.
I think there is no quick way.
But if you can make a one time effort of defining your folder/directory path in a parameter and then use this for creating dynamic File paths...it will save you time in future when you change the directory again
https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/
Hi @CloudMonkey ,
You can consider to create table with relative path of your files instead full path.(root folder path stored in query parameters)
After these steps, you can use root folder path + relative path to get data.
If your files has been changed to other direction, you can simply change stored root folder path to help power bi get data from new path.
Regards,
Xiaoxin Sheng
I think there is no quick way.
But if you can make a one time effort of defining your folder/directory path in a parameter and then use this for creating dynamic File paths...it will save you time in future when you change the directory again
https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/