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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.