Forum Discussion
Anonymous
7 years agoNot applicable
M language if statement
Hi, I am trying to do a IF statement in M language. = if [vat] = "v7" then ([total] *1.2)-[total] else if [vat] = "4" then ([total] *1.05) -[total] I am getting a toke else error... Any...
- Anonymous7 years ago
Figured it out.. it needs to have an else at the end otheriwse it doesnt work
Anonymous
7 years agoNot applicable
Figured it out.. it needs to have an else at the end otheriwse it doesnt work