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

Showing negative as a positive

I am trying to show values in my X axis as positive figures - I only want these figures to "appear" positive and not actually be positive.

Please see below:

Picture12.png

Picture13.png

Picture14.png

8 Replies
ashfaq_haseeb
Champion III
Champion III

Use fabs() function.

Regards

ASHFAQ

jagan
Luminary Alumni
Luminary Alumni

Hi,

Use Fabs() like below

Fabs(Sum(Sales))

Hope this helps you.

Regards,

Jagan.

Not applicable
Author

using fabs gives me the below graph.... I want the negatives to still be negative, just appear as though they aren't - just need to get rid of the "-"

Picture1.png

MK_QSL
MVP
MVP

Fabs(YourExpression)

ashfaq_haseeb
Champion III
Champion III

Then try something like this

If(Sum(Sales)>0,Sum(Sales)

Regards

ASHFAQ

MK_QSL
MVP
MVP

Go to Expression Tab

Click + on your expression

Go to Bar Offset

Add whatever is the Min Value of your Expression

in your case it looks like -5... so write 5 in bar offset..

Not applicable
Author

The colour of my bars have now disappeared and the scale at the bottom is still showing negative numbers

Not applicable
Author

this will give me positive numbers - I need the negative numbers to be negative but not show the "-"

In excel I would use custom formatting and say (#,##0;#,##0,"-")