Forum Discussion
StoryofData
3 years agoHelper III
M Launguage If Statement
How do I add another condition to this? if [EmplId] <> "" then [IemCaseNumber]&" | "&[EmplId]&" | "&[IemParticipantName] else "" I need it to do a custom column of [IemCaseNumber]&" | "&[E...
vicky_
3 years agoSuper User
you can use "else if" in M.
StoryofData
3 years agoHelper III
think I got it!
if [EmplId] = ""
then ""
else if
[IemCity] = "Not Applicable"
or [IemCity] = "Not Disclosed"
then
""
else
[IemCaseNumber]&" | "&[EmplId]&" | "&[IemParticipantName]