A highway through the mountains of data with the SQL Server Tabular Model This presentation is a walk through in-memory database and reporting features #430 BULGARIA 2015
Sponsors #430 BULGARIA 2015
About me Stefan Damyanov is a Senior IT Consultant working in Adastra Bulgaria with over 12 years of experience in various projects in the Banking and IT sectors. Business analysis Business Intelligence ETL processes Microsoft, IBM, Oracle and SAP BI tools Performance and tuning 3 | #430 BULGARIA 2015
Agenda /1/ Tabular data model design o Architecture o Q&A Used technologies in the demos SSRS reporting service SSRS in action o Q&A Share Point capabilities Share Point vs SSRS o Q&A 4 | #430 BULGARIA 2015
Agenda /2/ Power Pivot Excel add-in o Requirements o Installation o Excel Power Pivot Demo o Q&A Excel in new look o The End-User's choice o Q&A Common issues in SSRS – additional information o Q&A 5 | #430 BULGARIA 2015
Tabular data model – quick overview In-Memory database Column oriented Similar to the popular relational databases Tables and predefined Relationships are the primary objects Data Analysis eXpressions (DAX) is the native language MDX is also supported to query the Tabular model DirectQuery mode is available to bypass the In-memory model #430 BULGARIA 2015
Tabular data model – architecture Architecture One catalog (database) = one model In-memory technology No aggregations. Column-based storage Columns in tables can be split into multiple files, depending on the column size 7 | #430 BULGARIA 2015
Tabular data model design #430 BULGARIA 2015
Used technologies in the demos BI level SSRS 2012 Excel 2013 Professional Share Point 2012 Programing level PL/SQL T-SQL Java.Net C# Java Script SSIS SSAS 9 | Database level Oracle 11 g MS SQL Server 2012 Middleware level MS SQL Tabular model 2012 Application level Oracle Apex #430 BULGARIA 2015
Used technologies in the demos Demo database and tabular model in numbers Number of source system tables: 38 Size of source system database in GB: 500 Source system growth per month in GB: 30 Size of target database in GB: 8 Size of tabular model in GB: 0.72 Largest table in rows: 30,840,215 Largest table in GB: 5 Number of transferred tables: 5 #430 BULGARIA 2015
Used technologies – flow chart #430 BULGARIA 2015
Tabular data model scheme #430 BULGARIA 2015
SSRS reporting service SSRS in action 13 | #430 BULGARIA 2015
SSRS reporting service SSRS Demo #430 BULGARIA 2015
SSRS reporting service #430 BULGARIA 2015
Share Point – main features One portal One look and feel Multi-site environment SharePoint features Security Manageability (backup, etc.) Power View (standalone, Excel Web app) Linked reports #430 BULGARIA 2015
Share Point capabilities #430 BULGARIA 2015
Power Pivot Excel add-in /1/ PowerPivot for Excel 2010 requirements Requires Microsoft Office PowerPivot for Excel supports 32-bit or 64-bit machines. PowerPivot requires a minimum of 1 GB of RAM (2 GB or more recommended). Requires Windows XP with SP3, Windows Vista with SP1, Windows 7 or Windows 8/8.1 #430 BULGARIA 2015
Power Pivot Excel add-in /2/ PowerPivot for Excel 2013 Requires Microsoft Office 2013 Professional Plus/ Office 365 ProPlus/ Office 365 Enterprise. Enable PowerPivot add-in for Excel The default installation of Office 2013 contains PowerPivot add-in disabled mode #430 BULGARIA 2015
Power Pivot Excel add-in /1/ Installation – Step 1 #430 BULGARIA 2015
Power Pivot Excel add-in /2/ Installation – Step 2 #430 BULGARIA 2015
Power Pivot Excel add-in /3/ Installation - Step 3 #430 BULGARIA 2015
Power Pivot Excel add-in Excel Power Pivot Demo #430 BULGARIA 2015
Power Pivot Excel add-in #430 BULGARIA 2015
Excel in new look The End-User's choice 25 | #430 BULGARIA 2015
Excel in new look #430 BULGARIA 2015
Common issues in SSRS – additional information How to clear the Cache o When doing any query performance tests, be sure to record both cold cache and warm cache performance numbers. o Open an MDX window in SQL Server Management Studio, and paste the following XMLA. SQL Saturday o Replace the DatabaseID (SQL Saturday) with your DatabaseID. o Run the edited script above. 27 | #430 BULGARIA 2015
Common issues in SSRS – additional information Remove blank pages 1.Click on Report > Report Properties > Layout tab 2.Make a note of the values for Page width, Left margin, Right margin 3.Close and go back to the design surface 4.In the Properties window, select Body 5.Click the + symbol to expand the Size node 6.Make a note of the value for Width 7.To render in PDF correctly Body Width + Left margin + Right margin must be less than or equal to Page width. When you see blank pages being rendered it is almost always because the body width plus margins is greater than the page width. Remember: (Body Width + Left margin + Right margin) <= (Page width) 28 | #430 BULGARIA 2015
Common issues in SSRS – additional information Remove the hidden columns when export the report into Excel 1.Use rectangle for all tables in the report 2.Justify all cells in SSRS 3.Use pt instead cm or in 4.Use subreport componet in complex reports 29 | #430 BULGARIA 2015
Q&A #430 BULGARIA 2015
Thank you #430 BULGARIA 2015
Sponsors #430 BULGARIA 2015