Data security in SAS OLAP cubes and reports



Similar documents
Course: SAS BI(business intelligence) and DI(Data integration)training - Training Duration: 30 + Days. Take Away:

Lost in Space? Methodology for a Guided Drill-Through Analysis Out of the Wormhole

SAS Business Intelligence Online Training

NAIP Consortium Strengthening Statistical Computing for NARS SAS Enterprise Business Intelligence

SAS BI Content Development. Exam Name : Demo. Version :

AIM Dashboard-User Documentation

Cognos 8 Best Practices

SAS BI Course Content; Introduction to DWH / BI Concepts

1. OLAP is an acronym for a. Online Analytical Processing b. Online Analysis Process c. Online Arithmetic Processing d. Object Linking and Processing

Implementing Data Models and Reports with Microsoft SQL Server 20466C; 5 Days

SAS 9.3 Management Console

SAS 9.2 Management Console. Guide to Users and Permissions

Microsoft Implementing Data Models and Reports with Microsoft SQL Server

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

SAS Institute Exam A SAS BI Content Developmentfor SAS 9 Version: 7.0 [ Total Questions: 107 ]

SAP BO 4.1 COURSE CONTENT

OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys

BIA and BO integration other performance management options Crystal Reports Basic: Fundamentals of Report Design

Creating BI solutions with BISM Tabular. Written By: Dan Clark

Data Warehousing. Paper

Release Document Version: User Guide: SAP BusinessObjects Analysis, edition for Microsoft Office

MS 50511A The Microsoft Business Intelligence 2010 Stack

Implementing Data Models and Reports with Microsoft SQL Server

How To Run A Run Dashboard On An Aca.Edu

Data warehousing/dimensional modeling/ SAP BW 7.3 Concepts

Creating Connection with Hive

Implementing Data Models and Reports with Microsoft SQL Server

Microsoft Dynamics GP. Taking a Deeper Dive into SmartLists, Excel Report Builder, and Business Analyzer

EXAM - A SAS Certified BI Content Developer for SAS 9. Buy Full Product.

SAP BUSINESS OBJECTS BO BI 4.1 amron

Performance Monitor. Intellicus Web-based Reporting Suite Version 4.5. Enterprise Professional Smart Developer Smart Viewer

How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com

Kyubit Business Intelligence OLAP analysis - User Manual

Getting Started Guide SAGE ACCPAC INTELLIGENCE

SAS 9.4 Management Console

Pastel Evolution BIC. Getting Started Guide

Online Scheduling Instructions

SAP EPM Add-in for Microsoft Office

SAS BI Dashboard 4.3. User's Guide. SAS Documentation

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

Oracle Essbase Integration Services. Readme. Release

Table of Contents VISMA ANALYSIS VISMA ANALYSIS VISMA ANALYSIS

Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide

Event Management System (EMS) Virtual EMS

Hybrid OLAP, An Introduction

IIT Cognos Financial Reporting Dashboard User Guide

Business Intelligence for the Health Care Industry

An Architectural Review Of Integrating MicroStrategy With SAP BW

Course 6234A: Implementing and Maintaining Microsoft SQL Server 2008 Analysis Services

CS2032 Data warehousing and Data Mining Unit II Page 1

Take a Whirlwind Tour Around SAS 9.2 Justin Choy, SAS Institute Inc., Cary, NC

IBM Cognos Training: Course Brochure. Simpson Associates: SERVICE associates.co.uk

ORACLE OLAP. Oracle OLAP is embedded in the Oracle Database kernel and runs in the same database process

LearnFromGuru Polish your knowledge

How to Login Username Password:

BI Project Budget Balance Analysis Area. Table of Contents

Partner Portal DOCUMENT. Ticketing User Guide. NTT Communications

Master Data Services. SQL Server 2012 Books Online

ONLINE LEVEL ONE UMPIRES COURSE PARTICIPANT FACT SHEET

Sterling Business Intelligence

How To Create A Report In Excel

Republic Polytechnic School of Information and Communications Technology C355 Business Intelligence. Module Curriculum

Business Intelligence Tutorial

[COGNOS DATA TRAINING FAQS] This is a list of frequently asked questions for a Cognos user

Oracle Data Integrator for Big Data. Alex Kotopoulis Senior Principal Product Manager

A-AUTO 50 for Windows Setup Guide

Delivering Business Intelligence With Microsoft SQL Server 2005 or 2008 HDT922 Five Days

2. Metadata Modeling Best Practices with Cognos Framework Manager

Bullet Proof: A Guide to Tableau Server Security

SAS Financial Intelligence. What s new. Copyright 2006, SAS Institute Inc. All rights reserved.

SQL Server Administrator Introduction - 3 Days Objectives

Managing Submissions via ExpressO: A Guide for Law Review Editors

WEBFOCUS QUICK DATA FOR EXCEL

Infor Lawson Analytics for Healthcare Administration Guide. Version 10.0.x Published August 7, 2014

Course duration: 45 Hrs Class duration: 1-1.5hrs

Contents 1. Introduction Login Order Status Search for pre-advice and orders View pre-advice or order...

DI SHAREPOINT PORTAL. User Guide

DROOMS DATA ROOM USER GUIDE.

TU04. Best practices for implementing a BI strategy with SAS Mike Vanderlinden, COMSYS IT Partners, Portage, MI

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

SQL Server 2012 Business Intelligence Boot Camp

M4 Systems. Advanced Timesheets and Expenses (ATS&E) User Guide

SAS 9.4 Intelligence Platform

What's New in SAS Data Management

7.0 BW Budget Formulation Report Tips and Tricks

Orchestrating Document and Media Management using CMIS

Creating Pivot Tables and Diagrams with Microsoft Excel, Visio and SQL Server 2008

GETTING STARTED WITH QUICKEN with Online Bill Pay for Windows

Building a Cube in Analysis Services Step by Step and Best Practices

Credit Card Processing Management

Setting up an account and logging in using Design & Print Online. Opening a saved project

Openbooks - Setting up bank feeds

Together we can build something great

Sage 300 ERP Intelligence Reporting Getting Started Guide. Debra Holder March 2014

User's Guide. ControlPoint. Change Manager (Advanced Copy) SharePoint Migration. v. 4.0

VoIP Ceiling Speaker with Allworx 6x Server Setup Guide

SECURE UNIVERSES USING RESTRICTION SETS

OBIEE 11g Data Modeling Best Practices

NEW FEATURES ORACLE ESSBASE STUDIO

Transcription:

Data security in SAS OLAP cubes and reports Dec 2012 Kalavgunta Hari Krishna Sai Chaitanya Praghathi Abirami Santhalingam

Scenario» User should view its own data and its sub-ordinates data if available.» If there are multiple levels in the user hierarchy, all levels need to be visible once authorized.» Handle user hierarchy changes based on Time dimension.» Multiple lines of business in a single view.» Dynamic data in the reports based on Period granularity.» Single report when viewed by different users will present data which they are authorized to view. 2

Solution part 1 Cube RDBMS OLAP Cube User Hierarchy SAS User group Normalized schema LOB Time Dim x Fact Position Sales Manager Manager User Group De-Normalized schema Summarized Fact Position hierarchy Position hierarchy sample Supervisor Salesperson MDX Supervisor User Group Period key Director Manager Supervisor Salesperson Subordinate User 1 Dir1 Manager1 SP390 Salesperson1 Subord11 salesperson1 2 Dir1 Manager1 SP390 Salesperson1 Subord10 salesperson1 2 Dir1 Manager1 SP390 Salesperson3 Subord23 salesperson3 Sales Rep User Group 3

Cube Components» Data model for reporting tables. Plan the table structure to be used for OLAP cubes. Summarized fact table to have all dimensions with unique identifier per position and Time. Position hierarchy built upon position dimension which has the same unique identifier as mentioned above. Have a column which has SAS users mapped across positions.» OLAP cube. Cube built using a star schema.» SAS code to select Time periods. Add code to save the x values of Time dimension into a macro variable and use this in table options.» Dimensions, levels, hierarchies and Measures. Dimensions In addition to Time, Geo etc, define 2 position dimensions one (on user column) for MDX and the other (on position column) for Metadata security. Define Levels Manager, supervisor, sales person. Define hierarchies and measures as needed. 4

Cube components Time selection The fact table is filtered to contain selected periods only before building the cube Always picks latest 2 periods. If cube needs 12 months of data, select outobs=12 5

Supervisor MDX and metadata security Applying the MDX on Supervisor User group selecting Position user dimension User groups should be denied Readmetadata to parent Levels in Position Dimension 6

Cube Components contd..» Metadata user groups. Create SAS user groups i.e. Manager, Supervisor, Sales person.» MDX for user security. {Descendents ( Filter (<Dimension_name>.<Hierarchy_name>.<Level_name>.Members, <Dimension_name>.<Hierarchy_name>.Currentmember.Name ="SUB::SAS.PersonName").Item(0))} Text marked in Green: The global variable SAS.PersonName stores the Username/User ID of the person logged into the Web portal. The statement loops through each of the values in the particular level specified and compares it against the value of the logged in user. Text marked in Red: The second parameter to the filter statement would then be reduced to a particular value of the level. Filter statement then filters all the rows of the cube which has the matching value. Text marked in Blue: Filter statement will return all the rows matched, which can be more than one row (based on the data in cube). Item(0) ensures that a single value is passed on as parameter to the descendents function. Text marked in Brown: Descendents function, as the name suggests, will return all the children of the particular value of level parameter 7

Cube Components contd..» Security on metadata. In OLAP cube studio, under Inventory tab, open the Position Dimension (user) and apply the MDX on all 3 user groups. (In Authorization tab, select Edit Authorization). If the user group doesn t exist, contact administrator to add the same. Open the Position Dimension (Position) and apply the metadata security for every level i.e. o For Manager level, Check Deny readmetadata for Supervisor and Sales person user group. o For Supervisor level, Check Deny readmetadata for Sales person user group. o For Sales person level, there is no need to deny readmetadata.» Web report. The security applied on the Cubes will be applicable for any report built over this Cube.» At this stage, the security setup is complete. Any user when accesses the cube will only see authorized data. 8

Cube example login as salesperson1 in EG» A Manager can see its own data along with Supervisors under it and Sales persons under their respective Supervisors.» A Supervisor cannot see Manager s view i.e. peer information is not available to view. But it can see its data along with Sales persons under it if it has any.» A sales person cannot view its Supervisor s or its Manager s or its peer s data but can view only its data. It doesn t have any sub-ordinates. 9

Cube example contd.. Salesperson1 can view only its info and its subordinates info if available 10

Cube example login as salesperson3 11

Cube example login as manager7 12

Cube example login as a Director 13

Solution part 2 Reports» Create an information map selecting the cube as the source.» Add dimensions and measures as needed» Add filters and prompts on the dimensions if necessary.» Connect to Web report studio and create a new report selecting the information map.» Create a table and select dimensions across x and y axes. Add column totals / sub-totals if necessary» For all the values of the Time dimension, based on the user logged in, the results will be displayed based on the MDX and Metadata security set on the group to which the user belongs to. 14

Report examples login as salesperson 1 and 3 15

Report examples login as a Director 16

Advantages» Data security with ease.» Solution can be leveraged for multiple hierarchy levels.» Can cater to multiple users with a single cube and a single report.» With a supported batch process, report gets refreshed data dynamically.» Limited number of SAS user groups. Notes» OLAP cube studio, Information map studio and Web report studio used to build the solution.» Enterprise Guide and Web report studio used to view data. 17

Thank you» Contact: Chaitanya_s@infosys.com Praghathi_as@infosys.com» References: http://support.sas.com/documentation/cdl/en/olapug/59574/html/ default/viewer.htm#a003212399.htm SAS OLAP Server: MDX Guide http://support.sas.com/documentation/cdl/en/olapug/59574/html/ default/viewer.htm#a003212372.htm 18