Forum Discussion
Connecting to a csv file / folder on remote machine
- 3 years ago
Use the bellow code
let
Source = Excel.Workbook(File.Contents("\\<computer-name>\<folder-path>\<filename>.xlsx"), null, true),
Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet, [PromoteAllScalars=true])
in
#"Promoted Headers"And when you provide the drive E: don use the :
Example
\\99.999.999\E\Users\userID\Desktop\filename.xlsx
Try to open the link and check if you can access the folder from your pc before importing it to power bi
"DataSource Error: The network path was not found". I have powerbi desktop on my physical machine with my company credentials perhaps I need some sort of authorization...
Hi campelliann ,
Please let me know if you were able to resolve the network path issue. I have a similar requirement and I am stuck on this.
Thanks,
Hrishi