Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
Explore Siemens Communities
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
Home
Discussions
Community Q&A
How to use if statement in attribute generation?
habib_ahmed89
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
Find more posts tagged with
AI Studio
Accepted answers
All comments
Marco_Boeck
Hi,
the syntax is:
if(missing(field1)==false,field1,field2)
Regards,
Marco
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups