Skip to main content

Pie Chart is showing duplicate value labels


Technote (FAQ)


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

English

Question

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?

Answer

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.


Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

SPSS Statistics

Statistics Desktop


Software version:
20.0, 21.0


Operating system(s):
Windows


Reference #:
1611470


Modified date:
2013-05-08

Translate my page

Content navigation