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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
DerrickLang
New Member

'DataSource.NotFound: File or Folder: Could not find a part of the path' problem

I am trying to work with a prior employee's file, but the data the dashboard pulls from is an excel file we do not have. The datasource returns the error:

 

DataSource.NotFound: File or Folder: Could not find a part of the path 'C:\Users\....xlsx'

 

Is there a way to adjust this or extract how the data was being pulled without having that file? The dashboard is a few months behind and I think the query furnishing the data source excel file was limited to a specific time frame.

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @DerrickLang 

If you dont have a copy of the Excel then the only option is to export the imported data which may have already been filtered and with some columns removed. If the data isn't too big, you can go to Table view, copy the whole table and paste it to Excel. If copying doesn't work because of the size, you can use an external tool called DAX Studio to query the table and export it to a file. You will then need to reroute to the new file from the data source settings whichmight not be very straightforward if some columns being referenced in the original query no longer exist because the exported alread have them removed.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

5 REPLIES 5
v-nmadadi-msft
Community Support
Community Support

Hi @DerrickLang 

As we haven’t heard back from you, we wanted to kindly follow up to check if the suggestions  provided by the community members for the issue worked. Please feel free to contact us if you have any further questions.

 

Thanks and regards

v-nmadadi-msft
Community Support
Community Support

Hi @DerrickLang 

May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.


Thank you

v-nmadadi-msft
Community Support
Community Support

Hi @DerrickLang ,

I wanted to check if you had the opportunity to review the information provided by @danextian . Please feel free to contact us if you have any further questions.


Thank you.

Shahid12523
Community Champion
Community Champion

The PBIX is pointing to a missing local Excel file.

  1. Check Transform Data → Data Source Settings → see/change the file path.
  2. In Power Query, the Source step shows exactly how data was pulled.
  3. If the Excel file is gone:
  • You can still view query steps.
  • If data was imported (not DirectQuery), check Data view → cached rows may still be there and exportable.
Shahed Shaikh
danextian
Super User
Super User

Hi @DerrickLang 

If you dont have a copy of the Excel then the only option is to export the imported data which may have already been filtered and with some columns removed. If the data isn't too big, you can go to Table view, copy the whole table and paste it to Excel. If copying doesn't work because of the size, you can use an external tool called DAX Studio to query the table and export it to a file. You will then need to reroute to the new file from the data source settings whichmight not be very straightforward if some columns being referenced in the original query no longer exist because the exported alread have them removed.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors
Top Kudoed Authors