let Source = (anyCode as nullable any) as text => let TrimCode = try Text.Trim(Text.From(anyCode)) otherwise "PARSE-ERROR", MarkNulls = if (TrimCode = null) or (TrimCode = "") or (TrimCode = "0") then "NOT-PROVIDED" else TrimCode, Normalize = try Text.Upper(MarkNulls) otherwise "PARSE-ERROR" in Normalize in Source