Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I have written a function which read documents from a local folder, which works well. Now I need to move the script and the local folder to OneLake and I have difficulty to refer to the folder in Fabric. I have tried relative path and absf path, both failed. Any ideas?
Solved! Go to Solution.
HI @Jeanxyz,
I'd like to suggest you use the file API path to instead, you can 'right click' on file stored in the folder and copy its API path.
/lakehouse/default/Files/source_files/
Regards,
Xiaoxin Sheng
These two articles also contain some related information:
https://fabric.guru/how-to-mount-a-lakehouse-and-identify-the-mounted-lakehouse-in-fabric-notebook
https://fabric.guru/how-to-attach-a-default-lakehouse-to-a-notebook-in-fabric
Also see:
https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities
HI @Jeanxyz,
I'd like to suggest you use the file API path to instead, you can 'right click' on file stored in the folder and copy its API path.
/lakehouse/default/Files/source_files/
Regards,
Xiaoxin Sheng