Forum Discussion
Austin360
4 years agoRegular Visitor
Converting positive values to negative values
Please I need help on how to convert positive values within a column to negative values.
tamerj1
Community Champion
4 years agoHi Austin360
New Column =
IF ( Table[Column]<0, Table[Column], -Table[Column])
Austin360
4 years agoRegular Visitor
Thanks alot.
I was hoping to use an else statement alongside your statement above to change the all negative to positive.
Like all positive to negative and negative to positive.
- tamerj14 years ago
Community Champion
Austin360
If you want convert all positive to negative and all negative to positive
Column = - GL_ENTRY_[amount]- Austin3604 years agoRegular Visitor
Thanks a million
- Austin3604 years agoRegular VisitorColumn = if(GL_ENTRY_[amount] < 0, GL_ENTRY_[Amount] *-1,-GL_ENTRY_[Amount] *1)was hoping this would do the trick.But its not , Kindly help