Community & Support
Learn
Marketplace
Menu
Menu
Home
›
Discussions
›
Community Q&A
how to generate an attribute with abs(col1 - col2)
blatoo
New Altair Community Member
Apr 29, 2015
Updated
Nov 5, 2024
by
Jocelyn
Hello,
how can I generate an new attribute, which function expression is: |attr1 - attr2| ?
At moment, i just find the way with if( attr1 - attr2 > 0, attr1 - attr2, attr2-attr1)
Thanks very much for the attention!
Find more posts tagged with
AI Studio
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)