Created
December 18, 2019 14:24
-
-
Save michaelvdnest/d8114da348e057a3375518f699fc3180 to your computer and use it in GitHub Desktop.
Read a file path from an Excel range in power query to fix error [Formula.Firewall: Query references other queries, so it may not directly access a data source.]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Use function like this | |
Folder.Files(FilePath()) | |
*/ | |
= () => let | |
/* Source = File_Path, (Replace this line with the one below) */ | |
Source = Excel.CurrentWorkbook(){[Name="File_Path"]}[Content], // File_Path is range name | |
Path = Source{0}[Column1] // Column1 is the name of the source table column | |
in | |
Path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment