Delivering Multi-Sheet Excel Reports from a Parameterized Stored Process TU02 Richard DeVenezia, Independent Consultant Harry Droogendyk, Stratia Consulting.

Slides:



Advertisements
Similar presentations
Producing Maps with SAS Enterprise Guide
Advertisements

CC SQL Utilities.
RightNow 8 -- Adding a new report: New > Report: ORAnalytics > Reports > New Report
Office Links - Sharing Data in Microsoft Office A Mixed Bag of Treasures Chester N. Barkan Registrar Long Island University, C.W.Post Campus.
AS ICT Finding your way round MS-Access The Home Ribbon This ribbon is automatically displayed when MS-Access is started and when existing tables.
Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
Using Productivity Application- Spreadsheet ADE100- Computer Literacy Lecture 15.
1 Appendix A: Writing and Submitting SAS ® Programs A.1 Writing and Submitting SAS Programs.
Chapter 18 - Data sources and datasets 1 Outline How to create a data source How to use a data source How to use Query Builder to build a simple query.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational Databases.
Integrating Access with the Web and with Other Programs.
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 1 Tariq Aziz and Kevin Jones.
Using Excel for Data Analysis in CHM 161 Monique Wilhelm.
Nu Project Management Office A web based tool to Manage Projects.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
11 Chapter 3: Getting Started with Tasks 3.1 Introduction to Tasks and Wizards 3.2 Creating a Frequency Report 3.3 Generating HTML, PDF, and RTF Output.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2010.
Word Processing ADE100- Computer Literacy Lecture 12.
XP New Perspectives on Introducing Microsoft Office XP Tutorial 1 1 Introducing Microsoft Office XP Tutorial 1.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your.
ODBC : What is it and how does it work with MDS ?.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Analysing Data with Excel Importing Data from a Text File To import data from a text file: 1.Start Excel. 2.Click File, click New, click Workbook,
Exploring Office Grauer and Barber 1 Introduction to Access: What is a Database?(Wk1)
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
Chapter 6 SAS ® OLAP Cube Studio. Section 6.1 SAS OLAP Cube Studio Architecture.
Using SAS® Information Map Studio
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 6 Switchboards, PivotTables, and PivotCharts.
Key Applications Module Lesson 21 — Access Essentials
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
SESSION 3.1 This section covers using the query window in design view to create a query and sorting & filtering data while in a datasheet view. Microsoft.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2007.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 1- Introduction to Access: What is a Database? Robert Grauer and Maryann Barber Exploring.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
Exploring Microsoft Access Chapter 1 Introduction to Microsoft Access: What Is A Database?
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
1 Data Manipulation (with SQL) HRP223 – 2010 October 13, 2010 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
1 Chapter 20 – Data sources and datasets Outline How to create a data source How to use a data source How to use Query Builder to build a simple query.
Searches and Search Results 1 CONFIDENTIAL - LPS Real Estate Group Client Use Only.
Chapter 11 Using SAS ® Web Report Studio. Section 11.1 Overview of SAS Web Report Studio.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
1 Chapter 7: Customizing and Organizing Project Results 7.1 Combining Results 7.2 Updating Results 7.3 Customizing the Output Style (Self-Study)
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Introduction to KE EMu
Gold – Crystal Reports Introductory Course Cortex User Group Meeting New Orleans – 2011.
MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.
Copyright © 2010, SAS Institute Inc. All rights reserved. SAS ® Using the SAS Grid.
1 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way.
1 Database Programming with ADO.NET Kashef Mughal.
1 After completing this lesson, you will be able to: Create a form using AutoForm. Create a form using the Form Wizard. Add controls to a form. Modify.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
1 Data Manipulation (with SQL) HRP223 – 2009 October 12, 2009 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
Copyright © 2016, SAS Institute Inc. All rights reserved. HIDDEN GEMS IN SAS ENTERPRISE GUIDE.
Copyright © 2008, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks.
Programming with Microsoft Visual Basic 2012 Chapter 14: Access Databases and SQL.
SAS ® 101 Based on Learning SAS by Example: A Programmer’s Guide Chapters 14 & 19 By Tasha Chapman, Oregon Health Authority.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Microsoft Office Access 2003
Microsoft Office Access 2003
Tutorial 7 – Integrating Access With the Web and With Other Programs
Presentation transcript:

Delivering Multi-Sheet Excel Reports from a Parameterized Stored Process TU02 Richard DeVenezia, Independent Consultant Harry Droogendyk, Stratia Consulting Inc.

Stored Process SAS code made available to wider audience –registered in the Metadata –accessible via different interfaces single version of the truth can be data processes create output, in this case ODS

Stored Process defined via Enterprise Guide –GUI interface –allows incremental development –run, review, modify –happy? register Stored Process in Metadata using EG wizard executed from EG, MS Add-in, Browser

The Data find it in Appendix A in the paper series of single answer questions relating to Travel satisfaction –randomly generated demographic information –gender, income level, city, country code reshapes data for ease of use

Define Library SAS Management Console –define library, import tables

Define Library verify in EG Explorer ( under Tools )

Define List Process under File, select New / Project from the Task List toolbar, drag Sort Data to the grid

Define List Process must first select a data source select SAS Servers, SASMain, Libraries and the Survey libname and the RESULTS dataset

Define List Process the SORT wizard appears, drag, Run

Define List Process completed SORT displays temporary data set

Define List Process after closing the data set, drag List Data to grid

Define List Process list wizard appears, drag, Run

Define List Process

Define Tabulate Process TABULATE procedure uses a different data source EG tries to anticipate our needs –wants to use output of previous step –saw this in the LIST process must force EG to use a new data set

Define Tabulate Process Server List in Task List toolbar drag dataset VECTOR3 to grid

Define Tabulate Process drag Summary Tables to grid report will be connected to the VECTOR3 data set

Define Tabulate Process drag fields to Summary Roles

Define Tabulate Process drag fields to Summary Tables

Define Tabulate Process drag fields to Summary Tables

Define Tabulate Process after Preview Code, click Insert Code

Define Tabulate Process have to pay attention !!!

Define Tabulate Process double-click and a small window opens

Define Tabulate Process scroll code window

Define Tabulate Process report appears

Define Pie Chart pie chart creation requires subsetting click the VECTOR3 data set to ensure it's active from the menu bar, Data, Filter and Query wizard appears

Define Pie Chart

drag fields into the Select area click Filter Data tab, New Filter icon

Define Pie Chart define Filter criteria

Define Pie Chart define Sort criteria and click Run

Define Pie Chart define Pie Chart properties

Define Pie Chart

Creating the Stored Process creating a parameterized Stored Process was our goal –ability for end user to select what's displayed use the initial "listing" report we created –Open ( double click ) the List icon –Preview Code –Insert Code –add WHERE clause to PROC PRINT

Creating the Stored Process

Executing a Stored Process

Multi-Sheet Output ODS ExcelXP tagsets do create multi- sheet Excel output requires Excel 2002 ( XP ) or 2003 unfortunately…. streaming output not supported in v9.1.3 EG doesn't play well with XML either workaround available

Multi-Sheet Output

Conclusion EG provides an effective means of: defining SAS processes turning those processes into Stored Processes defining parameters for the STP streamed output does not support XML by default must define MIME type appropriately what's in store for v9.2 ??

Thank you ! Richard A DeVenezia Harry Droogendyk Acknowledgements: Rupinder Dhillion, Peter Eberhardt and Vince DelGobbo