Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Austin360
Regular Visitor

Converting positive values to negative values

 

Please I need help on how to convert positive values within a column to negative values. 

2 ACCEPTED SOLUTIONS

@Austin360 

You can also use

New Column =
- ABS ( Table[Column] )

View solution in original post

@Austin360 
If you want convert all positive to negative and all negative to positive 
Column = - GL_ENTRY_[amount]

View solution in original post

7 REPLIES 7
Austin360
Regular Visitor

Thanks for the quick response 

@Austin360 

You can also use

New Column =
- ABS ( Table[Column] )

tamerj1
Super User
Super User

Hi @Austin360 

New Column =
IF ( Table[Column]<0, Table[Column], -Table[Column])

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. 

@Austin360 
If you want convert all positive to negative and all negative to positive 
Column = - GL_ENTRY_[amount]

Thanks a million 

Column = 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
 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.