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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.