![](https://ninmonkeys.com/blog/wp-content/uploads/2021/01/image-6.png)
type any
.![](https://ninmonkeys.com/blog/wp-content/uploads/2021/01/image-7.png)
Table.AddColumn
to set it to number
![](https://ninmonkeys.com/blog/wp-content/uploads/2021/01/image-8.png)
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