By default SiSense formats negative numbers by using the minus sign, like -1500. Some people prefer to format negative numbers by using a parenthese, like (1500). This article shows how to edit a widget's script to format the numbers this way.
The following screenshot shows how the widget was initially formatted.
I've attached the script used for this in format_negatives.js. There's one line that you may need to edit in order to get it to work in your environment. The '2' in _.each($('td:nth-child(2) div' , e) refers to the column of the pivot chart that we are trying to format. Change this to the appropriate column number.
Here's a screen shot of my widget script:
After applying the changes to script, reload the widget, and you should be able to see the changes. Here's a screenshot of the results.
Please sign in to leave a comment.