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
How to use if statement in attribute generation?
habib_ahmed89
Member Posts: 2 Contributor I
Hello, I have a simple issue of comparing 2 fields and getting the value of the one that isn't null, with priority on one field
My statement looks like
if(field1 != null, field1, field2)
However, it seems my condition is not correct. What is the way to find nulls in this type of expression?
Thanks
My statement looks like
if(field1 != null, field1, field2)
However, it seems my condition is not correct. What is the way to find nulls in this type of expression?
Thanks
0
Answers
the syntax is: Regards,
Marco