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.
hello,
in notebook1, I can read the .csv file into a dataframe
in notebook2, can not read the same .csv file. --> error is as per below
this is what I am doing in fabric notebook
path = 'Files/pathname/year=2024/month=08/day=16/xyz.csv'
df=spark.read.csv(path)
display(df)
error:
-------------------------------
Solved! Go to Solution.
I assume both Notebooks are in the same Workspace and both have the same Lakehouse attached as the default?
I assume you are using the exact same code to read the .csv file; nothing different?
Are they both running under the same spark configuration?
Are there any libraries being loaded into 1 Notebook and not the other?
thank you. the problem was not having the correct lakehouse.
I assume both Notebooks are in the same Workspace and both have the same Lakehouse attached as the default?
I assume you are using the exact same code to read the .csv file; nothing different?
Are they both running under the same spark configuration?
Are there any libraries being loaded into 1 Notebook and not the other?
both Notebooks are in the same Workspace - yes
and both have the same Lakehouse attached as the default? - how do I check this?
I assume you are using the exact same code to read the .csv file; nothing different? - correct
Are they both running under the same spark configuration? - correct
Are there any libraries being loaded into 1 Notebook and not the other? - no
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |