I Have Excel, I Need PerformancePoint, and I’m Afraid of Analysis Services by Chris McNulty -...
description
Transcript of I Have Excel, I Need PerformancePoint, and I’m Afraid of Analysis Services by Chris McNulty -...
New Frontiers - I have Excel, I need Performance Point, I don’t know Analysis Services
SPTechCon San Francisco 2013Chris McNulty
25 yearsSince 1987, Quest has offered a broad and deep selection of products that target common IT challenges
3,900Quest employees develop solutions in over sixty offices throughout the world
18%Quest has driven innovation by regularly investing 18% or more in R&D
30Over thirty acquisitions have strengthened our product portfolio
100kQuest products provide over 100,000 customers with IT solutions every day
3 Confidential SharePoint
Dell Software | SharePoint
5 Confidential SharePoint
12 years in SharePoint, 20+ in IT
Meet Chris McNulty @cmcnulty2000
10 years at Boston College & Fairfield University
21 years in Milton Massachusetts
3 children (Devin Nate Rachel) and my wife Hayley
<Insert Head Shot>
6 Confidential SharePoint
7 Confidential SharePoint
8 Confidential SharePoint
9 Confidential SharePoint
Hometown, Laurel, NY (from www.flickr.com/photos/cmcnulty)
10 Confidential SharePoint
Microsoft SharePoint Server 2013 … the infinite frontier
Eastern Long Island, August 2012
11 Confidential SharePoint BU
Key Topics
BI goals and SharePoint technology
SQL Analysis Services Cubes and Performance Point
The scenario and prerequisites
Excel and SQL Integration
12 Confidential SharePoint
Presentation Governance
• In scope – the “scenario”
• Out Of Scope– Power View– Quest / Dell– Deep Dives (e.g. PowerShell, BI, Upgrade, SQL DBA)
• Rules – Questions – time permitting during session– Any time after session – email etc. - @cmcnulty2000– Slides posted to www.sharepointforall.com http://bit.ly/WSFXPO
• Prerequisites– Comfortable with SQL– Can write T-SQL– SharePoint Customization Expertise
13 Confidential SharePoint
Goals for BI Design
• Answering the known questions about our business
• Allowing users to self-discover patterns and answers to questions we haven’t yet been asked
14 Confidential SharePoint
SharePoint 2013/SQL 2012 BI
Chart Web Part
Excel Services• Excel Web
Access• PowerPivot
Enabling technologies• Business
Connectivity Services
• SQL Reporting Services
• Pivot• Azure DataMarket
Performance Point• Dashboards• Analysis
Services
Custom Solutions• Mapping• Web Parts• Etc.
SSRS• Alerts• Data Feeds
PowerPivot• Power View
Self-Service
15 Confidential SharePoint
Scenario
• I heard that we have a BI interface in SharePoint. Can I send you an Excel file so we can load it into Performance Point?
• Thanks to Geoff Varosky @gvaro
16 Confidential SharePoint
Overview
Excel1. Excel Prep SQL Server
2. Import to SQL3. Create View
SSAS4. SSAS Project5. SSAS Source6. SSAS DSV7. Named Queries8, Cube9. Add Dimensions10. Build/Deploy/View
Performance Point11. Data Conn & Chart12.Dashboard
17 Confidential SharePoint
Prerequisites
SQL Server 2012
SQL Analysis Services
SQL 2008 R2
ADOMD.NET
SharePoint 2013
Secure Store
Performance Point Unattended Service Account
Office/Excel 2013
Enable COM Addin Power Pivot / Power
View
ADOMD.NET 10 - http://www.microsoft.com/en-us/download/details.aspx?id=16978
18 Confidential SharePoint
• Inspect the file
• Remove extra headers
• Clean columns – Good, unique names
• Add an ID field (integer)
• Add Year – YEAR()
• Add Quarter – "Q"&ROUNDUP(MONTH(B2)/3,0)
• Add Month– TEXT(MONTH(B2),"00")
Step 1. Excel Preparation
19 Confidential SharePoint
DEMO• It’s a “spread-sheet”?
DEMOIt’s a “spread-sheet”?
20 Confidential SharePoint
• Create or Re-Use a Non-SharePoint Database
• SQL Export/Import Wizard Or SSIS
• Use $ and Rename
• Edit Mappings & Preview– Dates & Money
• Auto-Generate SQL Create Statements
• Run and Save SSIS for Reuse
Step 2. Import Excel File to SQL
21 Confidential SharePoint
• Not strictly needed!
• Allows you to change the table structure if the Excel file changes but just remap the view
Step 3. Create a SQL View
22 Confidential SharePoint
DEMO• SQL Server
DEMOSQL Server
23 Confidential SharePoint
• Formerly BIDS
• Now SQL Server Data Tools (2012)
• AS Multidimensional Template
• Define deployment target as an SSAS database
Step 4. Create SSAS Project
24 Confidential SharePoint
• Use wizard
• Use service account connection
Step 5. Create SSAS Data Source
25 Confidential SharePoint
• Use wizard
• Use service account connection
Step 6. Create SSAS Data Source View
26 Confidential SharePoint
• These are “virtual dimensions”
• Define logical primary key as the unique ID
• Source foreign to destination master
• (all roads lead to Rome)
• Product, Region, State
Step 7. Create Named Queries in DSV
27 Confidential SharePoint
• Master table is the measure group table
• Rename Measures to friendlier names
Step 8. Create Cube
28 Confidential SharePoint
Step 9. Multiple Dimensions
• Product – flat dimension
• Geography – a hierarchy– Regions contains states
• Time– Build multiple attributes Order into a hierarchy – Y/Q/M/D
29 Confidential SharePoint
• Build cube
• Deploy to SSAS from VS
• Inspect inside VS
Step 10. Build/Deploy/Inspect
30 Confidential SharePoint
DEMO• SQL Data Tools
DEMOSQL Data Tools
31 Confidential SharePoint
• Add SSAS Connection to Cube
• Create Analytic Chart– Measure – Series– Dimension – Bottom Axis
Step 11. Performance Point Chart
32 Confidential SharePoint
• Create Dashboard– Add Chart
• Save and Deploy
Step 12. Performance Point Dashboard
33 Confidential SharePoint
DEMO• PerformancePoint
DEMOPerformancePoint
34 Confidential SharePoint
Overview
Excel1. Excel Prep SQL Server
2. Import to SQL3. Create View
SSAS4. SSAS Project5. SSAS Source6. SSAS DSV7. Named Queries8, Cube9. Add Dimensions10. Build/Deploy/View
Performance Point11. Data Conn & Chart12.Dashboard
The carousel paradox…
38 Confidential SharePoint
39 Confidential SharePoint
Thank you!
– Questions– Contact
– Email [email protected] – Blog http://www.chrismcnulty.net/blog
– Also http://www.sharepointforall.com – Twitter: @cmcnulty2000
– Upcoming:– ICC Heartland Conf, SP Evolutions,
DCSPUG, SPUGME, ShareFest Denver
40 Confidential SharePoint BU
While you're in the Bay Area…
• Monday 4:00pm - SharePoint SpeedMetal Admin 101
• Monday 5:30pm – Lightning Talks
• Tuesday 2:00pm – Social 101 and SharePoint
• Tuesday 6:00pm – Book Signing, Dell, SharePoint 2013 Consultant’s Handbook (Advance Edition)
• Wednesday 1:15pm – SharePoint Experts Meetup (Managed Metadata)
• Wednesday 3:45pm – I Have Excel, I Need PerformancePoint, but I Don’t Know Analysis Services!
42 Confidential SharePoint
More information
• SharePoint architecture design patterns in Chris’ e-book entitled SharePoint 2010 Consultant’s Handbook – A Practical Field Guide
– Get your free copy here http://www.quest.com/get-chris-book
43 Confidential SharePoint