You are on page 1of 16

PIVOT TABLES

AN ENTERPRISE GUIDE
APPROACH
___________________________________________
Judy Orr Lawrence – SAS Training Specialist

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
AGENDA ENTERPRISE GUIDE SUMMARY TABLES

 EG Technique for Pivot Tables


o Summary Tables Task
o Prompts
o Query Builder Prompt Filter

 SAS MS Excel Add-In

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
AGENDA EDMONTON SAS USER GROUP

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
AGENDA EDMONTON SAS USER GROUP

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
ENTERPRISE
SUMMARY (PIVOT) TABLES
GUIDE

o The Summary Tables Task in o Adding Prompts to


EG can summarize, analyse, Summary Tables can make
explore and present your data the task more dynamic
similar to Excel PIVOT tables

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
ENTERPRISE
SUMMARY TABLES TASK
GUIDE

Drag and drop available variables and statistics into the preview area to construct your summary table

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
ENTERPRISE
SUMMARY REPORT
GUIDE
Add prompts to automate the selection of row, column and analysis variables

Column Variable 1
Analysis Variable 1
Row Variable 1
Analysis Variable 2

Row Variable 2

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
ENTERPRISE
SUMMARY TABLES WITH PROMPTS
GUIDE
Prompt selection list displays at run-time

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
ENTERPRISE
SUMMARY (PIVOT) TABLES
GUIDE

o Construct a Query to filter o Choose values from the


based on prompt selected prompt list at run-time
values

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
ENTERPRISE
SUMMARY (PIVOT) TABLES
GUIDE

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
DEMO

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
ENTERPRISE
SUMMARY (PIVOT) TABLES STEPS
GUIDE

Dynamic selection of Column, Row and Analysis Variables


 1) Create advanced Summary Table
 2) Create Variable Prompts for Column, Row and Analysis variables
 3) Modify the Summary Table to include the variable prompts

Dynamic selection of values


 1) Create a Query based on source table
 2) Create value prompts and add to Query as a filter
 3) Change input source for Summary Table to Query result

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
SAS MS EXCEL ADD-IN

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
ENTERPRISE
HTTP://SUPPORT.SAS.COM/TRAINING/CANADA/
GUIDE TRAINING
Also available as Live-Web & E-Learning

Course Next Calgary


Public Class

SAS Enterprise Guide 1: Querying and Reporting NOV 2 - 3

SAS Enterprise Guide for Experienced SAS Programmers N/A

SAS Enterprise Guide 2: Advanced Tasks and Querying N/A

Creating Reports and Graphs with SAS Enterprise Guide N/A

SAS Enterprise Guide: ANOVA, Regression, and Logistic Regression N/A

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
QUESTIONS?

C op yr i g h t © 2 0 1 3 , S A S I n s t i t u t e I n c . A l l r i g h t s r es er v e d .
THANK YOU
___________________________
JUDY.ORRLAWRENCE@SAS.COM

C o p yr i g h t © 2 0 1 3 , S A S In s t i t u t e In c . A l l r i g h t s r e s e r ve d . sas.com

You might also like