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
trndlnd
Frequent Visitor

Convert positive values to negative

Hi,

 

I have a column with both positive and negative values. I want Power BI to show all the valus as negative. How do I do that?

 

 

1 ACCEPTED SOLUTION

Hey @trndlnd ,

then create a DAX measure like so:

All negative (ms) = 
SUMX( 'All Negative' , ABS( 'All Negative'[Value] ) * -1 )

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

4 REPLIES 4
TomMartens
Super User
Super User

Hey @trndlnd ,

 

you can use PowerQuery to create a custom column like so:

image.png

the formula:

Number.Abs([Value]) * -1

The table will look like this

image.png

 

Hopefully, this provides what you are looking for.

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hey @trndlnd ,

then create a DAX measure like so:

All negative (ms) = 
SUMX( 'All Negative' , ABS( 'All Negative'[Value] ) * -1 )

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

This helped me out!

Thank you @TomMartens !

 

Sounds like this would solve my problem, but I am in DirectQuery mode, so PBI won't let me create a custom column like this.

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.