Community & Support
Learn
Marketplace
Menu
Menu
🎉Community Raffle - Win $25
An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win
Home
›
Discussions
›
Community Q&A
I am getting error when generate attribute
sgnarkhede2016
New Altair Community Member
Mar 16, 2020
Updated
Nov 5, 2024
by
Jocelyn
I am write condtion in generate attribute
Quarter => if(%{MONTH} <= 3,10,100)
After executing getting error
"Error in evaluting expression: '=' must have argument same type
Find more posts tagged with
AI Studio
Errors
Generate Attributes
All Replies
Accepted Answers
Sort by:
Sort by
Oldest
â–¾
1 - 2 of 2
↑
1
↑
sgnarkhede2016
New Altair Community Member
OP
Accepted Answer
Mar 16, 2020
solved I need to use eval(%{MONTH} )
MartinLiebig
Altair Employee
Mar 16, 2020
btw,
eval(%{MONTH+"<=3")
also works
Cheers,
Martin
Sort by:
Sort by
Oldest
â–¾
1 - 1 of 1
↑
1
↑
sgnarkhede2016
New Altair Community Member
OP
Accepted Answer
Mar 16, 2020
solved I need to use eval(%{MONTH} )
View in context
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
Groups
Best Of