Pulsar3000
New Member
- Joined
- Apr 19, 2021
- Messages
- 44
- Office Version
- 365
- Platform
- Windows
Hello Everyone:
I have a power query with a dynamic file path to get a set of files from one folder. The files only have one sheet but the sheets have different names.
I'm trying to make my file path to work but get the error: We cannot convert a value of type Table to type Binary.
Here's the majority of the M code for "Other Queries" and note that the FolderPath in the first line is a named range for one cell only that contains a link.
Here's the M code for the Sample File. The item in orange is not literal. My real M code has the entire actual path of where the folder is located but didn't want to provide it for privacy reasons.
let
Source = Folder.Files("ACTUAL FILE PATH"),
Content0 = Source{0}[Content]
in
Content0
Can someone help me troubleshoot? Thanks in advance for your help!
I have a power query with a dynamic file path to get a set of files from one folder. The files only have one sheet but the sheets have different names.
I'm trying to make my file path to work but get the error: We cannot convert a value of type Table to type Binary.
Here's the majority of the M code for "Other Queries" and note that the FolderPath in the first line is a named range for one cell only that contains a link.
Here's the M code for the Sample File. The item in orange is not literal. My real M code has the entire actual path of where the folder is located but didn't want to provide it for privacy reasons.
let
Source = Folder.Files("ACTUAL FILE PATH"),
Content0 = Source{0}[Content]
in
Content0
Can someone help me troubleshoot? Thanks in advance for your help!