Forum Discussion
PooBIDeveloper
4 years agoFrequent Visitor
Default value in M Query
Hi All, I have a column where a value is fixed,i am using custom column for this,but its showing error. Below is the Query where i am trying to make a validation in the column if it has the valu...
- Anonymous4 years ago
This should be done with Text.Contains instead of List.Contains:
= Table.AddColumn(PriorTableOrStepName, "Validator", each if Text.Contains([Column1], "Z") then "Valid" else "Invalid", type text)
--Nate
Anonymous
4 years agoNot applicable
This should be done with Text.Contains instead of List.Contains:
= Table.AddColumn(PriorTableOrStepName, "Validator", each if Text.Contains([Column1], "Z") then "Valid" else "Invalid", type text)
--Nate