anvg
Active Member
- Joined
- Feb 14, 2012
- Messages
- 485
Hi
How to create a udf-function for equaton criteria?
It is my code for that, but one is not work at all. I received a message a udf-function is not allowed in this context
How to create a udf-function for equaton criteria?
It is my code for that, but one is not work at all. I received a message a udf-function is not allowed in this context
Code:
let
source = {"part","part1","settings"},
myEqual = (base, substr) =>
let
result = if Text.Contains(base,substr) then true else false
in
result,
return = List.RemoveMatchingItems(source, {"part"},myEqual)
in
return