Forum Discussion

littleboozer's avatar
littleboozer
New Member
2 years ago
Solved

Help with converting number to negative based on another column value.

Hi All,   I am new to this so my question could be very basic. I am trying to create a new custom column to display the numbers from a column named "actual amount" in either negative or positive va...
  • Anonymous's avatar
    Anonymous
    2 years ago

    = Table.AddColumn(PriorStepOrTableName, "Actual Amount", each if [Direction] = "Outgoing" then [Amount] * -1 else Amount)

     

    --Nate