SQL Server Reporting Services 2017 on Steroids!! Steve Simon MVP Data Platform
SQL Server MVP Dell - EMC Involved with database design for 34 years + Presenter at numerous PASS summits. Presenter at numerous SQL Saturday events. Contributor on SQLShack.com
Steve Simon SQL Shack: http://www.SQLSHACK.com LinkedIn: http://www.linkedin.com/in/stephenrsimon Twitter: @SQLServerBoffin eMail: njm870t@hotmail.com Blog: http://www.sqlservercentral.com/blogs/simon_says/
Agenda SSRS Relational queries with SQL Server 2016. SSRS Multi-dimensional queries with SQL Server 2016 (MDX) SSRS Multi-dimensional queries with SQL Server 2016 Tabular. SSRS Tabular queries with SQL Server 2016 (DAX) SSRS Data mining queries with SQL Server 2016 (DMX) Linked Server and OpenQuery
MDX Contoso
D
USE master GO EXEC sp_addlinkedserver @server='LINKED_ContosoRetail', -- local SQL name given to the linked server @srvproduct='', -- not used @provider='MSOLAP', -- OLE DB provider @datasrc=‘STEVE\STEVE2017Tabular', -- analysis server name (machine name) @catalog='Contoso_Retail' -- default catalog/database
D
Numeric fields are loaded as NVarchar
The stored procedure
Adding selection parameters
MDX Demo “Contoso”
Working with Tabular Model and MDX
We then deploy to tabular server. This create a “cube”
Setting Up the Linked Server
The query code
Within the tabular model browser
Controlling the predicate
Demo Tabular Model and MDX
Working with Tabular Model and DAX
Demo Tabular Model and DAX
Working with DMX
KPI from our data
DMX Project Demo
An alternate Approach Excel D
http://jasonfaulkner.com/ClearDataCacheBIS.aspx
Take-away If query is “simple” perhaps nothing more is required. Linked servers and T-SQL provide predicate flexibility. Techniques we saw apply to relational,DMX,MDX and DAX queries! Don’t be afraid to experiment.
SQL Server Reporting Services 2017 on Steroids!! Steve Simon MVP Data Platform