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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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