Last active
January 8, 2025 08:56
-
-
Save nocodehummel/2f882d8686572f7dc02bd5780c7c7642 to your computer and use it in GitHub Desktop.
Power Query Parameter function
This file contains hidden or 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
| (Name as text) => let | |
| Parameters = Excel.CurrentWorkbook(){[Name="Parameters"]}[Content], | |
| Param = Table.SelectRows(Parameters, each ([Key] = Name)), | |
| Value = | |
| if Table.IsEmpty(Param) = true then null | |
| else Record.Field(Param{0},"Value") | |
| in Value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment