• <GetStart>
  • CSPro User's Guide
    • The CSPro System
    • Data Dictionary Module
    • The CSPro Language
    • Data Entry Module
    • Batch Editing Applications
    • Tabulation Applications
      • Introduction to Tabulation
      • Parts of a Table
      • Parts of the Table Tree
      • Common Uses of Tabulation
      • Capabilities of Tabulation
      • Creating Tables
        • Create a New Tabulation Application
        • Create a Table
        • Create Tables with Multiple Variables
        • Implications of Data Dictionary Value Sets
        • Tabulate Items with Multiple Occurrences
        • Tally Attributes for a Variable
        • Tally Attributes for a Table
        • Add, Insert, and Delete Tables
        • Move Between Tables
        • Run a Tabulation Application
        • Renaming Tables and Table Applications
        • How To ...
          • Add a Variable to a Tabulation
          • Remove a Variable from a Tabulation
          • Define a Universe for a Table
          • Add Weights to a Table
          • Tabulate Values Instead of Frequencies
          • Include/Exclude Special Values in a Variable
          • Hide or Change the Position of the Total
          • Add Percents to a Table
          • Add Summary Statistics to a Table
          • Include/Exclude Tables from Run
          • Debug Table Totals
      • Formatting Tables
      • Creating Tables by Geographic Area
      • Printing Tables
      • Tabulation Preferences
      • Saving and Copying Table Data
      • Table Post Calculation
      • Run Production Tabulations
      • Advanced Table Topics
      • Table Tips and Tricks
    • Data Sources
    • CSPro Statements and Functions
    • Templated Reporting System
    • HTML and JavaScript Integration
    • Action Invoker
    • Appendix
  • <CSEntry>
  • <CSBatch>
  • <CSTab>
  • <DataViewer>
  • <TextView>
  • <TblView>
  • <CSFreq>
  • <CSDeploy>
  • <CSPack>
  • <CSDiff>
  • <CSConcat>
  • <Excel2CSPro>
  • <CSExport>
  • <CSIndex>
  • <CSReFmt>
  • <CSSort>
  • <ParadataConcat>
  • <ParadataViewer>
  • <CSCode>
  • <CSDocument>
  • <CSView>
  • <CSWeb>

Add Percents to a Table

 

There are optional percentages available for each value set in a table. To create percentages, use the Tally Attributes for a Variable dialog.

 

To bring up the Tally Attributes for a Variable Dialog, right-click on the variable in the table and choose Tally Attributes (<variable>).

 

To add percents to the variable, select "Percents" in the list of available calculations on the left-hand side of the dialog and click the "Add" button.

 

There are two options for "Percents" which can be set by clicking the "Options" button while the "Percents" are selected:

 

Percent Options Dialog Box

 

Type

  • Total – Percents are based on total cell for the table (% cell = (associated cell value * 100) / total of all the cells in the table).

  • Row – Percents are based on total for the row (%cell = (associated cell value * 100) / total of all the cells in the row).

  • Column – Percents are based on total for the column (%cell = (associated cell value * 100) / total of all the cells in column).

 

Interleaved/Separate

By default, percents and counts are interleaved; that is, for each value in the value set, the frequency for that value is listed in the column/row directly preceding or following the percent for that value. Percents may also be separate, in which case all the frequencies are grouped together and all the percents are grouped together.

 

Separate vs. Interleaved Percents

Interleaved Percents

 

Image of Separate Percents Table Header

Separate Percents

 

For percents to be interleaved, the percents must directly follow or directly precede the counts in the list of selected calculations in the tally attributes dialog.

 

You can change the position of the percents relative to the other selected calculations (including the counts) by selecting the percents in the list on the right-hand side of the dialog and clicking the "Up" or "Down" buttons.

 

To show percents only (percents without counts), add the percents as described above and set the options to "Separate". Then select the counts in the list of selected calculations on the right-hand side of the dialog and click the "Remove" button to delete the counts. Finally, do the same to remove the "Total".

 

To show percents only with a number row, add the percents and remove the counts as above, but do not remove the "Total".

 

The Defaults are set in the Preferences and Default Formats.

 

By default, data in rows and columns containing percents will be displayed with one decimal place (e.g., 12.3). To change the number of decimal places see Change the Number of Decimal Places Displayed.

 

You can also show the percentage of the counts for a subset of the values in a value set (e.g., percent of people with age between 15 and 49) using proportions. See the section on proportions under Tally Attributes for Variable for more information.