Generate attribute: Column name* macro
Teja_Varanasi
New Altair Community Member
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.
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.
Tagged:
0
Best Answer
-
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,
Cesar0
Answers
-
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,
Cesar0