Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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)&')'