Add new Power Query functions and update settings for improved data handling

This commit is contained in:
2026-04-16 16:35:03 +03:00
parent 29b935a597
commit 1070653679
11 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
let
Func = (TableOrText as any, optional ColumnsList as list) => let
ChooseMethod = try List.IsEmpty(ColumnsList) otherwise true,
ApplyMethod = if ChooseMethod then
let
ColonToNull = Text.Replace(TableOrText, ",", ""),
DotToColon = Text.Replace(ColonToNull, ".", "")
in
DotToColon
else
let
ColonToNull = Table.ReplaceValue(TableOrText, ",", "" , Replacer.ReplaceText, ColumnsList),
DotToColon = Table.ReplaceValue(ColonToNull, ".", ",", Replacer.ReplaceText, ColumnsList)
in
DotToColon
in
ApplyMethod
in
Func