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,20 @@
let
Func = (SourceText as nullable text) as date =>
let
CheckSlashes = Text.Contains(SourceText, "/"),
TryToConvert = if CheckSlashes then
let
SplitText = Text.Split(SourceText, "/"),
Parse = try Date.From(#date(Number.From(SplitText{2}),
Number.From(SplitText{0}),
Number.From(SplitText{1})
) )
otherwise null
in
Parse
else
Date.From(SourceText)
in
TryToConvert
in
Func