Hi, Cannot get the list.transpose to work inside a definition.
What could be the problem?
Your issue is the definition inside your function, it should be a x:var …
Also, I’m still on 1.3.2 so I use return = t1 instead of return t1
can you show me the format of the “x” input?
Okay to me As long as I’ts code…
Thanks for helping me once again!
def a(w:var[])
{
b = w.GetParameterValueByName("Comments");
c = ["KV6-1","KV6-2","KV6-3"];
d = b<1> == c<2>;
e = List.Transpose(d);
return e;
};
EDIT: Would like to mention that this result could be obtained without a function too.
5 Likes
Wow cool!
1 Like