Quantcast
Channel: ListenData
Viewing all articles
Browse latest Browse all 425

SAS Visual Analytics : Add Column Percentage in CrossTab

$
0
0
This article explains how to add column percentage in crosstab in SAS Visual Analytics.

Task
Suppose you have created a cross tab - variable1 by variable2. You want to show both frequency and count % of column total. In SAS Visual Analytics, there is no direct way to show percentage of column total in crosstab.
SAS VA : Crosstab
Solution

1. Add any measure variable that has no missing values.
Add a measure variable

2. Place your cursor to the column you have added and right click on it
Add aggregated measure

3. Select "Create and Add" and click on Percent of Subtotals.

Add caption
4. Check "Percent of Column total.

5. Remove the added column and keep the percentage column.
Final CrossTab Table



Viewing all articles
Browse latest Browse all 425

Trending Articles