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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
jashfabric
Helper II
Helper II

Cannot query multiple files in Lakehouse

Hi
I am new to Fabric and experimenting with notebooks. How can I read multiple files present in a Lakehouse using a notebook?

I tried to read the csv files using this code, but receiving an error:

 

df = spark.read.format("csv").option("header","true").load("Files/**")

display(df)

Error: Path not found

Appreciate your help.

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @jashfabric 
Thanks for using Fabric Community.
You can use the below code:
df = spark.read.format("csv").option("header","true").load("Files")
display(df)

I have created a repro for you. 

vnikhilanmsft_0-1710222176832.png

 

Hope this helps. Please let me know if you have any other questions.

View solution in original post

Anonymous
Not applicable

Hi @jashfabric 
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @jashfabric 
Thanks for using Fabric Community.
You can use the below code:
df = spark.read.format("csv").option("header","true").load("Files")
display(df)

I have created a repro for you. 

vnikhilanmsft_0-1710222176832.png

 

Hope this helps. Please let me know if you have any other questions.

Thank you so much @Anonymous !
That helped me. Thanks for the detail explaination.

Anonymous
Not applicable

Hi @jashfabric 
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.

Helpful resources

Announcements
August Fabric Update Carousel

Fabric Monthly Update - August 2025

Check out the August 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.