sql server 2012 bism
DESCRIPTION
deck from my webcast for DevelopMentor on SQL Server 2012 BISMTRANSCRIPT
![Page 2: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/2.jpg)
3 Core Areas
Breakthrough Insights
Mission-Critical
Cloud on your terms
![Page 3: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/3.jpg)
Breakthrough Insights = Better BIPo
wer
View
New
sem
antic
se
rver
mod
el
for S
SAS
Data
Qua
lity
Serv
ices
Mas
ter D
ata
Serv
ices
Colu
mn-
stor
e In
dex (
10x-
100x
fast
er)
Sem
antic
Se
arch
&
File
tabl
e
![Page 4: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/4.jpg)
Insights = Better BI Storage/Query/Display
Modeling
• PowerPivot Improvements
• BISM for SSAS
Query
• Columnstore• DAX• XMLA
Display
• Excel• SharePoint• PowerView
![Page 5: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/5.jpg)
What is …
• What is it• Why to use it• Who will use it• When / where to install it• How to use it• What else?
![Page 6: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/6.jpg)
SQL Server Analysis Services Modes
• UDM (Multidimensional / Data Mining)– Also called OLAP cubes
• BISM (Tabular)– Business Intelligence Semantic Model
• PowerPivot for SharePoint
![Page 7: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/7.jpg)
What is the BISM?
• New model for SQL Server Analysis Services• Complimentary to the UDM (OLAP cube)• Must be installed ‘tabular model’ in SSAS– Only one model type per SSAS instance
• Similar to PowerPivot, but on a server– Uses Vertipaq
![Page 8: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/8.jpg)
Why Use BISM?• Quick and simple to set up (flexible model)– Fast – in memory by default w/Vertipaq– Connects to many types of data– Overcomes the limits of desktop Excel client– Granular (role-based) security model
• Integrates with PowerView (data source in SPS)
![Page 9: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/9.jpg)
Data Sources for BISM
![Page 10: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/10.jpg)
Some Example Data Markets
• Windows Azure Data Market• DataMarket.com• Factual.com• InfoChimps
![Page 11: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/11.jpg)
When to use the BISM?
• PowerPivot for personal BI – Excel desktop + PowerPivot add-in
• PowerPivot on SPS for team BI – Excel Services + SharePoint Enterprise
• BISM on SSAS for corporate BI– Tabular models created in SSDT– Tabular models viewed in one of the clients
• Excel Power Pivot / Pivot Tables• SharePoint Reports• SharePoint PowerView
![Page 12: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/12.jpg)
Installing BISM• SQL Server 2012 • BI or Enterprise Editions• Install SSAS in Tabular
mode• Build models in Excel –
AND-using SSDT • Stand-alone –OR-• Add-in to Visual Studio
2010• Not installed by default
![Page 13: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/13.jpg)
How to Use BISM?• Design in SSDT (or import from
PowerPivot)• Models can be opened in Excel
PowerPivot, SharePoint or • Can be used as data sources for SSRS in
SharePoint….
![Page 14: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/14.jpg)
Parts of BISM
• Tabular Model Project in SSDT• New or Import• BISM – new or from PowerPivot via Excel
• Workspace Database (in memory by default)• Views in BISM• Data & Calculation• Diagram• Toolbars—create KPI, etc…• Perspectives are supported as well
![Page 15: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/15.jpg)
Enhancing Models• Sort or Filter Table data• Add Relationships
(diagram view)• Add Hierarchies
(diagram view)• Adding Calculated
Columns via DAX• Adding Measures and
KPIs via DAX
![Page 16: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/16.jpg)
Diagram View of BISM in SSDT
• Manage Relationships• Create Hierarchies
![Page 17: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/17.jpg)
Using DAX with BISM modeling
• Data-expression Query Language– Excel-like simplified version of MDX– Excel ‘plus’ adds• Navigate relationships • Dynamic calculation of measures• Table-valued functions• Date/Time intelligence (functions, ex. MTD, QTD, YTD)
![Page 18: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/18.jpg)
BISM Models and Excel
• Can be created in Excel (and imported into SSDT)• Can be viewed in Excel (PivotTables) while
modeling in SSDT
![Page 19: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/19.jpg)
Enhancing the Model – Advanced View
![Page 20: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/20.jpg)
Enhancing the Model – Advanced View 2
• Set the Table Behavior– Row ID– Uniqueness– Default Label– Default Image
![Page 21: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/21.jpg)
About Query Modes
• InMemory is the default• Query Mode (SSDT) / Direct Query Mode (SSMS)• Direct Query mode can use Columnstore indexes• Direct Query mode supports only a single data source• Not all DAX functions work in Direct Query mode – c-link
![Page 22: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/22.jpg)
SSAS Server Settings for Tabular Mode
![Page 23: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/23.jpg)
Adding Security Roles
• Map groups to BISM roles
![Page 24: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/24.jpg)
Deployment of BISM in SSDT to SSAS
• Query Mode default is ‘In-Memory’
• Cube Name default is Model
![Page 25: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/25.jpg)
Connecting to a deployed BISM model
• Administration in SSMS
• View in Client– Excel / PowerPivot– SharePoint
PowerView
![Page 26: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/26.jpg)
DAX or MDX?
• MDX issuing clients (Excel) can talk to both multidimensional models and tabular models running in VertiPaq (in-memory) mode.
• MDX cannot be used to talk to DirectQuery models. • DAX issuing clients (Power View) can talk to tabular models
(both kinds - VertiPaq and DirectQuery)• DAX cannot be used to talk to multidimensional models. This
functionality is on the roadmap, but will not be present at RTM
![Page 27: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/27.jpg)
Connect in SSMS
![Page 28: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/28.jpg)
Tips, Tricks & Gotchas• Installation• SSAS in either Tabular –
or- UDM mode• Needs prerequisites
• Development• One BISM model per
project• DAX, not MDX• Try it out in Excel while
developing in SSDT
![Page 29: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/29.jpg)
Trying out BISM
Samples• SQL 2012 tutorial - here• Codeplex samples – here
![Page 30: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/30.jpg)
Tips, Tricks, Gotchas for BISM
Must install it correctly when installing SSAS3rd party tool – BISM Normalizer
![Page 31: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/31.jpg)
Monitoring Resource Usage
• Can use Profiler• Extended Events for monitoring• Can use DMVs• SSAS Operations Guide
![Page 32: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/32.jpg)
What about the UDM?
• UDM / Data Mining is fully supported in SSAS• Must be installed in this mode– Mutually exclusive to Tabular mode
• But, should you use it anymore?
![Page 33: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/33.jpg)
![Page 34: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/34.jpg)
Resources
Team Blog - hereOther blogs
About DAX – MVP blog - here
![Page 35: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/35.jpg)
Next Steps
• Install SSAS Tabular mode
• Learn PowerPivot and DAX
• Build a Tabular model
![Page 36: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/36.jpg)
www.TeachingKidsProgramming.org
Do a Recipe Teach a Kid (Ages 10 ++)Microsoft SmallBasic Free Courseware (recipes)
![Page 37: SQL Server 2012 BISM](https://reader035.vdocuments.site/reader035/viewer/2022081413/54970387b4795915168b45f3/html5/thumbnails/37.jpg)
Keep up with Data
Follow me @LynnLangit
RSS my blog www.LynnLangit.com
Hire me• To help build your BI/Big Data solution• To teach your team next gen BI with
SQL Server 2012