The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Generate attribute: Column name* macro
Teja_Varanasi
Member Posts: 17 Contributor II
in Help
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
-
ceaperez Member Posts: 541 UnicornHi @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