PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS...

16
Copyright © 2013, SAS Institute Inc. All rights reserved. PIVOT TABLES AN ENTERPRISE GUIDE APPROACH ___________________________________________ Judy Orr Lawrence SAS Training Specialist

Transcript of PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS...

Page 1: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

PIVOT TABLES

AN ENTERPRISE GUIDE

APPROACH

___________________________________________

Judy Orr Lawrence – SAS Training Specialist

Page 2: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

AGENDA

EG Technique for Pivot Tables

o Summary Tables Task

o Prompts

o Query Builder Prompt Filter

SAS MS Excel Add-In

ENTERPRISE GUIDE SUMMARY TABLES

Page 3: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

AGENDA EDMONTON SAS USER GROUP

Page 4: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

AGENDA EDMONTON SAS USER GROUP

Page 5: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ENTERPRISE

GUIDESUMMARY (PIVOT) TABLES

o The Summary Tables Task in EG can summarize, analyse, explore and present your data similar to Excel PIVOT tables

o Adding Prompts to Summary Tables can make the task more dynamic

Page 6: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ENTERPRISE

GUIDESUMMARY TABLES TASK

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

Page 7: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ENTERPRISE

GUIDESUMMARY REPORT

Add prompts to automate the selection of row, column and analysis variables

Column Variable 1

Analysis Variable 1

Analysis Variable 2

Row Variable 1

Row Variable 2

Page 8: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ENTERPRISE

GUIDESUMMARY TABLES WITH PROMPTS

Prompt selection list displays at run-time

Page 9: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ENTERPRISE

GUIDESUMMARY (PIVOT) TABLES

o Construct a Query to filter based on prompt selected values

o Choose values from the prompt list at run-time

Page 10: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ENTERPRISE

GUIDESUMMARY (PIVOT) TABLES

Page 11: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

DEMO

Page 12: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ENTERPRISE

GUIDESUMMARY (PIVOT) TABLES STEPS

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

Page 13: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

SAS MS EXCEL ADD-IN

Page 14: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

ENTERPRISE

GUIDE TRAININGHTTP://SUPPORT.SAS.COM/TRAINING/CANADA/

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

Also available as Live-Web & E-Learning

Page 15: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i g ht © 2013, SAS Ins t i tu t e Inc . A l l r ights reser ve d .

QUESTIONS?

Page 16: PIVOT TABLES AN ENTERPRISE GUIDE APPROACH Group Presentati… · SUMMARY (PIVOT) TABLES STEPS Dynamic selection of Column, Row and Analysis Variables 1) Create advanced Summary Table

Copyr i gh t © 2013 , SAS Ins t i tu te Inc . A l l r i gh ts reserved . sas.com

THANK YOU

___________________________

[email protected]