Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

change minus sign

hi, how to remove minus sign from minus values in a chart column.

as an example: -42980482 ---> (42980482)

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

You can use this #,##0;(#,##0) in the Number tab for the required column in your chart.

-ve values will be shown in brackets instead of showing "-" symbol

Regards

Swetha

View solution in original post

7 Replies
bgerchikov
Partner - Creator III
Partner - Creator III

Hi,

you can use fabs() function.

fabs(-42980482) =42980482

Hope it will help.

Not applicable
Author

Hi,

You can use this #,##0;(#,##0) in the Number tab for the required column in your chart.

-ve values will be shown in brackets instead of showing "-" symbol

Regards

Swetha

Not applicable
Author

can i give brackets to minus values?

bgerchikov
Partner - Creator III
Partner - Creator III

Hi,

You can try something like that:

=num((Amt),'######;(####)')

Regards!

jagan
Luminary Alumni
Luminary Alumni

Hi Dushan,

Try like this

=Num( -42980482, '###0;(###0)')

Qlikview takes First ###0 if Number is Positive

Qlikview takes Second (###0) if Number is Negative.

Regards,

jagan.

amit_saini
Master III
Master III

Hi Dushan,

Go to the chart properties ---> Number Tab and mentioned this in Format pattern :  #.##0,0;(#.##0,0)

Thanks,

AS

er_mohit
Master II
Master II

Try this

='(' & fabs(Fieldname)&')'