Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewwizard
Master II
Master II

Negative values in chart

Hi All,

How to show negative values in brackets () in pie chart?

For ex: -53 as (53) and -111 as (111).

Capture.PNG

16 Replies
qlikviewwizard
Master II
Master II
Author

Hi manojkulkarni ,

Thanks for your advise. I need to show negative mouse over values in brackets.

jagan
Luminary Alumni
Luminary Alumni

Hi,

Check this link

How to create a pie chart with positive and negative values

OR try this expression

=dual(fabs(sum(sales)),Sum(sales))

Regards,

Jagan.

manojkulkarni
Partner - Specialist II
Partner - Specialist II

Hi Arjun,

How did you solve this problem ? Please share the solution

qlikviewwizard
Master II
Master II
Author

Hi Manoj,

This is the celambarasansolution.

If(Sum(Sales)<0, Num(Fabs(Sum(Sales)), '(#,###'), Num(Sum(Sales), '#,###')

manojkulkarni
Partner - Specialist II
Partner - Specialist II

Thanks Arjun.

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

PFA...