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

Post on 21-May-2020

23 views 0 download

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

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

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

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

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

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

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

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

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

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

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

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

DEMO

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

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

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

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

QUESTIONS?

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

THANK YOU

___________________________

JUDY.ORRLAWRENCE@SAS.COM