cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PwrAppetite
Regular Visitor

Remove Negative Symbol from calculated value label

Hi All - 

I have a list with negative numbers (in the list with parentheses). I am trying to display the number without the "-" negative symbol being displayed from my calculated value. Here is my formula...

LblSum > Text Property is set to the following...

Text(Sum(Filter(colBottom,Types.Value="negative"),Amount), "[$-en-US]$#.00")

 

collection (colBottom) with one column "Types" and another column "Amount" 

 

Calculated to sum the "Amount" of "Types" with a value = "negative"

 

This is the number format that I get: -$34,400.00

What I would like to get: $34,400.00

What would be a close second: ($34,400.00)

 

Any ideas would be appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User II
Super User II

@PwrAppetite 

Put it inside the Text(Abs( and you will get the result you seek!

View solution in original post

4 REPLIES 4
Drrickryp
Super User II
Super User II

@PwrAppetite Multiply it by -1 if it is less than 0. You could also square it and then take its square root or wrap the formula in Abs(). I was just kidding about the first two.

@Drrickryp  I was excited to see a short reply making it seem simple, until I read those first two options 😥 Abs worked to remove the - symbol, but it also removed my currency format. I could add in the $ but is there a way to retain the commas in the format as well... $34,400.00?

Drrickryp
Super User II
Super User II

@PwrAppetite 

Put it inside the Text(Abs( and you will get the result you seek!

View solution in original post

PwrAppetite
Regular Visitor

Boss! thank you @Drrickryp  that did the trick!!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (57,634)