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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.