Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Let’s Build a Tabular Model in Azure Analysis Services is in Azure? Seriously!? Let's build a model! 2016-04-08 Phillip Labry SQL Saturday #604 • Thank you Sponsors! • Please visit the sponsors and enter their end-of-day raffles. • Event After Party • Hawk’s bar and Grill on 425 State Street. • Want More Free Training? • MADPASS meets the 4th Wednesday of every month. https://madpass.org/ 2017-04-08 | Phillip Labry |2Azure Analysis Services Demo 2017-04-08 | Phillip Labry | Azure Analysis Services Phillip Labry Sr. BI Consultant at Pragmatic Works IT development for over 30 years Developer, DBA, Business Intelligence Experience with Manufacturing, Telecom, Banking, Retail, Government, Insurance, Healthcare, Consulting, Energy, Finance,Logistics Twitter: @phillipLabry Blog: http://phillip.labry.com 2017-04-08 | Phillip Labry | Azure Analysis Services Today’s scenario Source data Azure Active Directory SSIS Virtual machine Azure SQL database Staging and EDW 2017-04-08 | Phillip Labry | Azure Analysis Services Azure Analysis Services Basic Terms Measure Numeric value that can be aggregated (Sales Amount) Fact Collection of fields mainly consisting of Measures Dimension Table of values that describes a fact (people, places, things) Star Schema Dimension tables radiating out from a related fact table Snowflake Schema Dimensions related to other dimensions Aggregate A mathematical summarization of measures Attribute Another name for Column(used in Dimensions) 2017-04-08 | Phillip Labry | Azure Analysis Services What is Analysis Services? Analytical database designed to be business facing Optimized for aggregating huge data sets Two engines: OLAP and Tabular 2017-04-08 | Phillip Labry | Azure Analysis Services Benefits of Azure Analysis Services • Scale up, scale down and pause • No hardware required • Inherent redundancy • Explore data from anywhere • Use the tools you love and know • SSMS, SSDT, Power BI, Excel 2017-04-08 | Phillip Labry | Azure Analysis Services Why Azure Analysis Services? • Upsize data from Power BI • Faster data refreshes • Adjust for peak workloads • New features quicker • Save on hardware costs, IT infrastructure 2017-04-08 | Phillip Labry | Azure Analysis Services Model Types • In Memory • Direct Query 2017-04-08 | Phillip Labry | Azure Analysis Services Supported data sources • On Premises • • • • SQL Server PDW / APS Oracle Teradata • Cloud • Azure SQL Database • Azure SQL Warehouse 2017-04-08 | Phillip Labry | Azure Analysis Services BI Semantic Model: Vision (2012) Third-party applications Databases Reporting Services LOB Applications Power View Excel Files PowerPivot OData Feeds SharePoint Insights Cloud Services BI Semantic Model (Azure Analysis Services) 2017-04-08 | Phillip Labry | Azure Analysis Services For Development DO NOT CHOOSE PRODUCTION SERVER FOR WORKSPACE Use Developer Tier pricing Remember to pause your machines 2017-04-08 | Phillip Labry | Azure Analysis Services Dimensions Wide and shallow Describe facts Can contain hierarchies Can contain calculated columns 2017-04-08 | Phillip Labry | Azure Analysis Services Hierarchies Predefine common hierarchies for the users Hierarchies are defined from largest group to smallest Year Quarter Month Hide columns used for hierarchies where appropriate 2017-04-08 | Phillip Labry | Azure Analysis Services Fact Tables Deep and narrow Mostly measures(Numbers) Keys to dimensions(Ints) Natural repository for calculated measures 2017-04-08 | Phillip Labry | Azure Analysis Services Calculated columns and Measures • Created in the model only • Calculated measures execute when called based on filter context • Calculated columns are created on data load and persist in memory 2017-04-08 | Phillip Labry | Azure Analysis Services Requirements • Azure account • Azure Active Directory Tenant(MS live accounts are not supported) • Directory integration between AAD and on premises AD is recommended but not required • Resource Group • Create a server 2017-04-08 | Phillip Labry | Azure Analysis Services Demo 2017-04-08 | Phillip Labry | Azure Analysis Services Current Pricing QPUS MEMORY (GB) Hourly Price Monthly Price S0 40 10$0.605/hr ~$450.12 S1 100 25$1.015/hr ~$755.16 S2 200 50$2.03/hr ~$1,510.32 S4 Developer 400 100$4.055/hr 20 3$0.066/hr ~3,016.92 ~$49.11 2017-04-08 | Phillip Labry | Azure Analysis Services Tips for development Clean table names on first import Settle on column names before creating any calculated columns or measures Flatten out snowflakes where possible Avoid creating calculated columns for intermediate measures Use views for source data Use meaningful and verbose names Use attribute properties and formatting 2017-04-08 | Phillip Labry | Azure Analysis Services Current Azure Analysis Services challenges • • • • Preview only Backups Limited source data No Power BI connectivity 2017-04-08 | Phillip Labry | Azure Analysis Services Additional resources 2017-04-08 | Phillip Labry | Azure Analysis Services Thank you @PhillipLabry 2017-04-08 | Phillip Labry | Azure Analysis Services