Created
July 6, 2022 20:52
-
-
Save ninmonkey/886125e2b9e4b1cd64b5489ef2b87ac7 to your computer and use it in GitHub Desktop.
power-query-null-coalesce.pq
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
let | |
joinText = (source as list, options as nullable record) as text => | |
let | |
culture = options[Culture]? ?? "en-us", | |
sep = options[Separator]? ?? ", ", | |
asText = List.Transform( | |
source, each Text.From( _, culture ) ), | |
render = Text.Combine( asText, sep ) | |
in | |
render | |
in | |
joinText |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment