Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
16 Replies
Chanty4u
MVP
MVP

qlikviewwizard
Master II
Master II
Author

Hi manojkulkarni ,

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

jagan
Partner - Champion III
Partner - Champion III

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...