![Page 1: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/1.jpg)
Introduction to Azure Analysis Services
Shabnam Watson
![Page 2: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/2.jpg)
Shabnam WatsonBI Consultant
Work: BI Consultant17 Years of experience developing data warehouse and business intelligence solutions with focus on Analysis Services and Power BI.
BackgroundMaster's degree in computer science. Certified Business Intelligence Professional (CBIP) by The Data Warehouse Institute (TDWI).
SpeakingPASS Summit, SQL Saturdays, Women In Technology Virtual Chapter and Atlanta SQL Server user groups.
/ShabnamWatson
@shbWatson
BLOG: https://shabnamwatson.wordpress.com
![Page 3: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/3.jpg)
What’s covered
• Intro to Analysis Services Tabular.• How to provision Azure Analysis Services servers• Cost• Create/Deploy a model using Visual Studio• Use PBI Desktop to explore data
![Page 4: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/4.jpg)
About you:
SQL Developer BI Developer DevOpsDBAs
All Photos by Unknown Author is licensed under CC BY-SA
![Page 5: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/5.jpg)
What is Analysis Services?
Enterprise BI Engine optimized for BI queries20 years old
Data SourceETL
Analysis ServicesCubes/Models
Reports
This Photo by Unknown Author is licensed under CC BY-SA
Ghost photo by Unknown Author is licensed under CC BY-NC-ND
![Page 6: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/6.jpg)
The elephant in the room
This Photo by Unknown Author is licensed under CC BY-NC-ND
Azure Analysis Servicesor Power BI?
![Page 7: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/7.jpg)
Oh, the places…
On-Prem
SSAS
Enterprise BI Self Service BI
CloudAAS PBI Service
Enterprise and Self Service BI
This Photo by Unknown Author is licensed under CC BY-NC-ND
![Page 8: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/8.jpg)
SQL Server Analysis Services (SSAS)
On-Prem Reporting Tools
Power BI Report Server
Development Management Tools
SSAS Databases
![Page 9: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/9.jpg)
Azure Analysis Services (AAS)
Cloud Reporting Tools
Power BI Report Server
Development Management Tools
AAS Databases
![Page 10: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/10.jpg)
Power BI Service
Cloud Reporting Tools
Power BI Report Server
XMLA End Point Development Management Tools
PBI Service
Datasets
Premium
![Page 11: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/11.jpg)
Power BI: Super Set of Analysis Services
Cloud Reporting Tools
Power BI Report Server
Development Management Tools
?
PBI Service
XMLA End PointPremium
![Page 12: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/12.jpg)
Relational Model vs. Tabular Model
![Page 13: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/13.jpg)
Relational Model
5/21/201913 |
Date Key Product Key Order Qty Sales Amount20180602 528 10 500
Internet Sales
Date Key Year Quarter Month Day20180602 2018 2 June 6
Date
Product Key Product Name Color528 Tire Tube Black
Product
![Page 14: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/14.jpg)
Relational Model
5/21/201914 |
Select Year, SUM([Order Qty]) as OrdersFrom [Internet Sales]Inner Join [Date]On [Internet Sales].DateKey = [Date].DateKeyGroup By YearOrder BY year
ProductInternet Sales
Date
Date KeyProduct KeyOrder QtySales Amount
Date KeyYearQuarterMonthDay
Product KeyProduct NameColor
tabletable
table
![Page 15: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/15.jpg)
Tabular Semantic Model
5/21/201915 |
ProductInternet Sales
Date
Date KeyProduct KeyOrder QtySales Amount
Date KeyYearQuarterMonthDay
Product KeyProduct NameColor
tabletable
table
Order Quantity := SUM([OrderQuantity])
Relationships between tables already definedCalculations predefined: DAX
![Page 16: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/16.jpg)
DAX: Data Analysis Expressions
• Measures• Calculated columns and tables• Query
Measure Name := DAX ExpressionOrder Quantity := SUM([OrderQuantity])
![Page 17: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/17.jpg)
Tabular Model Storage Modes
Tabular Storage Mode Query Time Processing TimeIn Memory: VertiPaqDirectQuery
Data Source
Analysis Services
Report
![Page 18: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/18.jpg)
VertiPaq
5/21/201918 |
Fact Tables
Dimension Tables
Row Storage or CCIOn disk
ProductInternet Sales
Date
Analysis Services Model
User Queries
SQL Database
DAX Calcs
Column by column In MemoryQuery Results are cached
![Page 19: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/19.jpg)
In Memory vs. Direct QueryIn Memory (VertiPaq) Direct QueryData in SSAS/AS memory Data in sourceColumnar SQL Server choiceNo DAX restrictions Some functions optimized, some only
allowed in measuresCalculated tables allowed Calculated tables not allowedPartitions allowed One partition only (plus sample)Multiple data sources One data source
![Page 20: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/20.jpg)
Tabular Compatibility LevelsCompatibility Level Scripting Language SSAS Version
1500 TMSL SQL Server 2019 CTP
1400 TMSL SQL Server 2017/Azure AS
1200 TMSL SQL Server 2016
1103 ASSL (XMLA) SQL Server 2014
1100 ASSL (XMLA) SQL Server 2012
![Page 21: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/21.jpg)
How to set up Azure AS?Azure PortalAzure subscriptionResource Group
On-premises data gateway if …
Much faster than setting up SSAS on a local server
![Page 22: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/22.jpg)
Azure AS Pricing:Tier Level QPU Memory GB Monthly Cost $Developer D1 20 3 98Basic B1 40 10 319Basic B2 80 20 639Standard* S0 40 10 602Standard S1 100 25 1,510Standard S2 200 50 3,020Standard S4 400 100 6,033Standard S8 320 200 7,722Standard S9 640 400 15,445Pricing assumes running full time. 25 QPU approximately equal to 1 virtual core
![Page 23: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/23.jpg)
ReplicasRead only copiesTotal of 8
When concurrent users > QPUProcessing during heavy use
Replicas synced when created, after that have to be synced after each process.
![Page 24: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/24.jpg)
Price Calculator: S9
https://azure.microsoft.com/en-us/pricing/calculator/?service=analysis-services
![Page 25: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/25.jpg)
BISM Normalizer
Deployment Cycle
While working in Visual StudioWorkspace Server
Deployment Server: Processing
Read onlyreplicas
Sync
![Page 26: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/26.jpg)
Demo
![Page 27: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/27.jpg)
Automation: ProvisionNew-AzAnalysisServicesServer
-ResourceGroupName “Analysis-Services“-Name "servername“-Sku "S0"-Location "eastus2"
![Page 28: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/28.jpg)
Service Pause/StartSuspend-AzAnalysisServicesServer -ResourceGroupName "Analysis-Services" -Name "servername"
Resume-AzAnalysisServicesServer -ResourceGroupName "Analysis-Services" -Name "servername"
![Page 29: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/29.jpg)
Back to the elephant in the room
Should I use Azure Analysis ServiceOr Power BI?
This Photo by Unknown Author is licensed under CC BY-ND
![Page 30: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/30.jpg)
Why Azure AS?Existing on-prem solution/skills and your data source is moving to the cloud.No actual server to maintain, patch.Best hardware requirements for best performance.Get the latest features.Scaling up/out easily done.Connect from most front end tools.Dedicated capacity up to 400 GB.Don’t have Power BI Premium – Still want one version of truth: governance, quality control.Price?
![Page 31: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/31.jpg)
Power BI Pricing:
Power BI Pro: $9.99 per user per month – 1GBPower BI Premium: $4,995 per month - 10 GB
![Page 32: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/32.jpg)
Power BI Pricing:
Power BI Premium: $4,995 per month*10 GB per model – 100 TB total storage
AAS tier Level QPU Memory GB Monthly Cost $Standard S2 200 50 3,020Standard S4 400 100 6,033
* https://powerbi.microsoft.com/en-us/pricing/
![Page 33: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/33.jpg)
Self Service BI – Enterprise BISelf Service EnterpriseMany small models Few modelsLittle governance More governanceHard to QA all models A coupe of models to QAFast development Slower development
![Page 34: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/34.jpg)
From PBI model to Azure AS modelConnect to PBI file from Power BI Helper / DAX Studio and get the port numberConnect to localhost:/port number from SSMSScript database Run script on target SSAS/AS serverImport back into Visual Studio
![Page 35: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/35.jpg)
Thank you!
What question do you have for me?
Contact/ShabnamWatson@[email protected]
https://shabnamwatson.wordpress.com
![Page 36: Introduction to Azure Analysis Services - WordPress.com€¦ · Why Azure AS? Existing on-prem solution/skills and your data source is moving to the cloud. No actual server to maintain,](https://reader036.vdocuments.site/reader036/viewer/2022062506/5f01ba6e7e708231d400c04b/html5/thumbnails/36.jpg)
SSAS GeneralClient Connectivity LibrariesWhat’s new in SSAS 2017Sample databasesDAX ReferenceTMSL Language ReferenceDirect Query ModeTabular Model ExplorerPower Query (M) Reference
ReferencesAzure Analysis ServicesAnalysis Services TutorialsPower BI ServicePower BI Architecture Diagram