Forum Discussion
Anonymous
3 years agoNot applicable
if else with or and is not working
Hi, I have two columns 1) Labour class 2) HRMS i am using the following m query code attached in picture but it is not giving correct result. First 3 conditions are giving corre...
wdx223_Daniel
Community Champion
3 years ago= List.Skip({"Foreman","Senior Foreman","Supervisor"},each not Text.StartsWith([HRMS],_,Comparer.OrdinalIgnoreCase)){0}? ??if List.Contains({"1AA","1bb"},[labour Calss]) then "Junior Staff" else null)
Anonymous
3 years agoNot applicable
Hi wdx223_Daniel it is giving error on if as i have attached SS.
- wdx223_Daniel3 years ago
Community Champion
= List.Skip({"Foreman","Senior Foreman","Supervisor"},each not Text.StartsWith([HRMS],_,Comparer.OrdinalIgnoreCase)){0}? ??(if List.Contains({"1AA","1bb"},[labour Calss]) then "Junior Staff" else null))