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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Iresha_Imali
Contributor II
Contributor II

Error in pie chart

why am I getting an error in pie chart. Please help me to remove this.

 

ireshaimali890_0-1778818434185.png

 

1 Solution

Accepted Solutions
vighnesh_gawad
Partner - Creator II
Partner - Creator II

Convert that pie chart into table and check if they are any negative or zero values. You cant have pie chart where some values are in negative. Either convert those values into positive or use different chart to show both negative and positive values.

Regards, Vighnesh Gawad
Connect with me on LinkedIn | GitHub

View solution in original post

3 Replies
vighnesh_gawad
Partner - Creator II
Partner - Creator II

Convert that pie chart into table and check if they are any negative or zero values. You cant have pie chart where some values are in negative. Either convert those values into positive or use different chart to show both negative and positive values.

Regards, Vighnesh Gawad
Connect with me on LinkedIn | GitHub
Chanty4u
MVP
MVP

Hi

Try this in your measure 

Sum({<Value={">0"}>} Value)

 

Or post your sample data and dim and measures used 

 

priscilarubim
Partner - Creator
Partner - Creator

From what I know, pie charts in Qlik Sense don't support negative or zero values, as they work with proportional slices, so any value ≤ 0 will trigger that error.

One approach that might work is wrapping your measure with an If() condition to filter those out:

If(SUM(YourField) > 0, SUM(YourField))
or
Sum({<YourField = {">0"}>} YourField)

But this assumes that the negative values are not relevant to your analysis.

Hope it helps! 🙂