Forum Discussion
Excel.Workbook function not working
- 7 years ago
This as to do with the way you setup your function, if you do it from scratch you need to adjust the way of working.
When having a link from a folder if you notice the first step on the function is what you refer:
Source = Excel.Workbook([content], null, true),
However in the combination of the files the first step is:
= Folder.Files("C:\Folder")And you invoke the custom function from the C:\Folder.
So you are refering the folder path, however this depends on how you setup your function.
Regards,
MFelix
hi MFelix ,
Thanks for replying.. i have used combine features before on PBI.but,my question was that, why the same code is not working on PBI,while it is working fine on Excel..yeah, on PBI, i have to do a little bit extra.that is, mentioning the location of the file.
anyway, Thanks for replying..
Regards,
snandy
This as to do with the way you setup your function, if you do it from scratch you need to adjust the way of working.
When having a link from a folder if you notice the first step on the function is what you refer:
Source = Excel.Workbook([content], null, true),
However in the combination of the files the first step is:
= Folder.Files("C:\Folder")
And you invoke the custom function from the C:\Folder.
So you are refering the folder path, however this depends on how you setup your function.
Regards,
MFelix