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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Negative in Pie Chart

Hi,

It is possible to put in a Pie Chart Positive and Negative values in the same chart?????

I need Help with this plz

Regards

Carlos

Labels (1)
26 Replies
Not applicable
Author

Carlos,

Pie charts aren't the best way to represent negative numbers. Stephen Few produced a great article about the problems with pie charts in general, might be worth a read Smile

Save the Pies for Dessert - Stephen Few

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Yes, in order to ignore the negative values for the pie charts, use function rangemax():

rangemax(0, "your expression")

This way, all negatives are automatically replaced by zeros.

cheers,

Ask me about Qlik Sense Expert Class!
Not applicable
Author

Hi,

There's no need to put them in 0, i resolved my problem with FABS(), the only thing you have to do is that you have to create a new expression as a Text Pop UP with out Fabs and that's all, you are going to have A Pie Chart with negative and positive values.

Not applicable
Author

Hello Orlando,

Thanks so much for the above, it works like a charm 🙂

Not applicable
Author

Just a quick thanks to Oleg - rangemax was just what I was looking for to ignore the negatives in my pie charts. Thanks to people like you beginners like me have a chance. Big Smile

christian77
Partner - Specialist
Partner - Specialist

Hi:

Once you have your pie chart with negative values, set it to relative values, percentage, and see the result.

If your negative values are large, the chart won´t mean anything.

I recomend to use bar charts instead.

Anonymous
Not applicable
Author

Thank you.  This was very helpful!!