IBM Support

Pie Chart is showing duplicate value labels

Technote (FAQ)

This document applies only to the following language version(s):



I have a data file with string variables that has a value labels in them. When I created the Pie Chart using Chart Builder, my variables labels are showing twice in the chart.
What is going on and how can I fix that?


You are more likely to get this behavior when your variables are String. The COUNT command in GPL doesn't recognize or unable to count the String. This is working as designed. Follow the below instruction to create your Pie Chart.
1. Go to Transform =>Autorecode (The autorecode will change the string variables to numeric)
2. Create new variables in the autorecode dialog
3. Now when doing your Chart Builder, just select the new variables you created from autorecode to do your Pie Chart.
This should help correct your issue.

Related information

Need more help? Our Statistics forum is Live!

Document information

More support for: SPSS Statistics
Statistics Desktop

Software version: 20.0, 21.0

Operating system(s): Windows

Reference #: 1611470

Modified date: 07 September 2016