In the M language, do we have a function that checks if a value is either null or an empty string?
Instead of the verbose
Something like this
Instead of the verbose
Code:
EmployeeWarning = if EmployeeId = "" or EmployeeId = null then "EmployeeIdMissing" else "",
Something like this
Code:
EmployeeWarning = if IsEmpty(EmployeeId) then "EmployeeIdMissing" else "",