Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
alutz54
Contributor III
Contributor III

Change Formatting of Negative Amounts

Hi all, I have several tables in my sheet that have dollar amounts with both positive and negative values. I want to be able to sort the tables by their absolute values, or even better for the end user, format all negative values to not have the negative sign and be enclosed in parentheses. I.e. -$2000 becomes ($2000). Any thoughts?

Labels (3)
1 Solution

Accepted Solutions
Chanty4u
MVP
MVP

Try this in your custom format

$#,##0.00;($#,##0.00)

 

View solution in original post

4 Replies
BrunPierre
Partner - Master
Partner - Master

Try.

Num(Field,'$#,##0;($#,##0)')

alutz54
Contributor III
Contributor III
Author

Do I need any sort of IF statement with it?  As is, that doesn't seem to work.

Chanty4u
MVP
MVP

Try this in your custom format

$#,##0.00;($#,##0.00)

 

alutz54
Contributor III
Contributor III
Author

Yes! Thank you!