Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
IF ... THEN ... ELSE
klemens1959
Which operator support if then else? I would like to assign a new or replace the value of an attribute based on the value of another attribute:
Example:
If ACTIVITY != "Tumble"
DIFF= 0
else
DIFF = BARODIFF
ACTIVITY, DIFF and BARODIFF are attributes of my data set.
Thanks!
Find more posts tagged with
AI Studio
Accepted answers
All comments
sgenzer
hi..I would do this in "Generate Attributes". You can then go to Edit List and under attribute name, name your new attribute DIFF. Under function expressions, do something like this:
if(ACTIVITY!="Tumble",0,"BARODIFF")
or something like that.
Scott
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups