Why doesn’t the original [Num] * 2
work?
Powerquery does not know what type will be returned by your function. That’s because each
is by definition a function that returns type any
See More
- see the
each
expression in the Lexical Grammar - Docs on Power Query
each
functions