Generate attribute: Column name* macro

Teja_VaranasiTeja_Varanasi Member Posts: 17 Contributor II
I am trying to do this
A B C D
2 1  1 4
3 2  4 1
'
using generate attribute i want to multiply each column with macro but i am getting error ( '*' must have a argument of type numerical).
A* macro like that i have given function.

Best Answer

  • ceaperezceaperez Member Posts: 492 Unicorn
    Solution Accepted
    Hi @Teja_Varanasi

    When you use a macro name into a formula you need to include and eval operator, e.g. eval(%{macro_name})

    Best, 

    Cesar
Sign In or Register to comment.