What is Azure Analysis Services?

Azure Analysis Services

Azure Analysis Services provides enterprise-grade data modeling in the cloud. It is a fully managed platform as a service (PaaS), tightly integrated with Azure data platform services. With its highly optimized OLAP data analytics engine, Analysis Services provides a rich semantic model layer between large, complex, and often disparate data sources. By pulling data together, you can define the semantic data model, creating highly customized, and highly performant analytics that power rich, interactive analytics experiences in modern client tools.

Data sources

Check out this video to learn how Azure Analysis Services fits in with Microsoft's overall BI capabilities, and how you can benefit from getting your data models into the cloud.

Built on SQL Server Analysis Services

Azure Analysis Services is compatible with the same SQL Server Analysis Services Enterprise Edition you already know. Azure Analysis Services supports tabular models at the 1200 and 1400 compatibility levels. Partitions, row-level security, bi-directional relationships, and translations are all supported. In-memory and DirectQuery modes mean lightning fast queries over massive and complex datasets.

Tabular models offer rapid development and are highly customizable. For developers, tabular models include the Tabular Object Model (TOM) to describe model objects. TOM is exposed in JSON through the Tabular Model Scripting Language (TMSL) and the AMO data definition language through the Microsoft.AnalysisServices.Tabular namespace.

New features in tabular 1400 models support Detail Rows, Object-level security, ragged hierarchies, a modern Get Data experience in SSDT for data connectivity, and many other enhancements. And because the underlying model metadata is the same, existing on-premises tabular model solutions can be easily migrated to the cloud.

Better with Azure

Azure Analysis Services integrates with many Azure data services enabling you to build sophisticated analytics solutions.

Azure Analysis Services can consume data from Azure SQL Database, Azure SQL Data Warehouse, and Azure Blob storage. You can build enterprise data warehouse solutions in Azure using a hub-and-spoke model, with the SQL data warehouse at the center and multiple BI models around it targeting different business groups or subject areas.

With Azure Data Factory you can orchestrate the movement and transformation of data, a core capability in any enterprise BI/analytics solution. Azure Analysis Services can be integrated into any Azure Data Factory pipeline by including an activity that loads data into the model. Azure Automation and Azure Functions can also be used for doing lightweight orchestration of models using custom code.

Azure Analysis Services is also tightly integrated with Azure Active Directory, providing secure, role-based access to your critical data.

Pricing

Azure Analysis Services is available in Developer, Basic, and Standard tiers. Within each tier, plan costs vary according to processing power, QPUs, and memory size. When you create a server, you select a plan within a tier. You can change plans up or down within the same tier, or upgrade to a higher tier, but you cannot downgrade from a higher tier to a lower tier.

Upgrade tier

Change tiers on-the fly in Azure portal or with the Set-​Azure​Rm​Analysis​Services​Server PowerShell cmdlet. To learn more about the different plans and tiers, and use the pricing calculator to determine the right plan for you, see Azure Analysis Services Pricing.

Scale resources

Scale up, scale down, or pause your server. Use the Azure portal or have total control on-the-fly by using PowerShell. You only pay for what you use.

When creating new servers, use the New-​Azure​Rm​Analysis​Services​Server cmdlet to set your plan. For existing servers, use Set-​Azure​Rm​Analysis​Services​Server cmdlet to change your plan. Don't use your service all the time? You can pause by using the portal or with the Suspend-​Azure​Rm​Analysis​Services​Server cmdlet. Start again with the Resume-​Azure​Rm​Analysis​Services​Server cmdlet. You only pay for when your server is active.

Regions

Azure Analysis Services servers can be created in the following Azure regions:

Americas Europe Asia Pacific
Brazil South
Canada Central
East US 2
North Central US
South Central US
West Central US
West US
North Europe
UK South
West Europe
Australia Southwest
Japan East
Southeast Asia
West India

New regions are being added all the time, so this list might be incomplete. You choose a location when you create your server in Azure portal or by using Azure Resource Manager templates. To get the best performance, choose a location nearest your largest user base. Assure high availability by deploying your models on redundant servers in multiple regions.

Get up and running quickly

With Azure portal, you can create a server within minutes. And, with Azure Resource Manager templates and PowerShell, you can provision servers using a declarative template. With a single template, you can deploy multiple services along with other Azure components such as storage accounts. To learn more, see Deploy resources with Resource Manager templates and Azure PowerShell.

Once you have a server created, you can create a tabular model right in Azure portal. With the new (preview) Web designer feature, you can connect to an Azure SQL Database, Azure SQL Data Warehouse data source, or import a Power BI Desktop .pbix file. Relationships between tables are created automatically, and you can create measures or edit the model.bim file in json format right from your browser.

Migrate existing tabular models

If you already have existing on-premises SQL Server Analysis Services model solutions, you can migrate to Azure Analysis Services without significant changes. To migrate, you can use SSDT to deploy your model to your server. Or, in SSMS, you can use backup and restore or TMSL.

If you have on-premises data sources, you need to install and configure an On-premises data gateway. If you have roles and role members already configured, your roles migrate, but you have to readd role members by using SSMS or PowerShell.

Data sources

Azure Analysis Services support connecting to data sources on-premises in your organization and in the cloud. Combine data from both on-premises and cloud data sources for a hybrid solution.

New tabular 1400 models use the modern Get Data feature in SSDT, based on the M formula query language. With Get Data, you have more data transformation and mashup features, and the ability to create and edit your own advanced M formula language queries. For example, with tabular 1400 models, you can model on data files in Azure Blob Storage.

Azure Analysis Services supports using DirectQuery for connecting directly to Azure SQL Database, Azure SQL Data Warehouse, SQL Server, SQL Server Data Warehouse, Oracle, and Teradata relational databases.

To learn more, see Data sources supported in Azure Analysis Services.

Use the tools you already know

BI developer tools

SQL Server Data Tools (SSDT) for Visual Studio

Develop and deploy models with the free SQL Server Data Tools (SSDT) for Visual Studio. SSDT includes Analysis Services project templates that get you up and going quickly. SSDT now includes the modern Get Data datasource query and mashup functionality for tabular 1400 models. If you're familiar with Get Data in Power BI Desktop and Excel 2016, you already know how easy it is to create highly customized data source queries.

With the new SSDT and tabular 1400 models, there's no longer any need to install a local instance of Analysis Services to host a workspace database. SSDT now includes its own integrated Analysis Services engine and database. When you're ready, deploy to your servers in Azure right from SSDT. And, SSDT is updated monthly, so you can get started using the latest features quickly.

Sql Server Management Studio

Manage your servers and model databases by using SQL Server Management Studio (SSMS). Connect to your servers in the cloud. Run TMSL scripts right from the XMLA query window, and automate tasks by using TMSL scripts. New features and functionality happen fast - SSMS is updated monthly.

PowerShell

Server resource management tasks like creating servers, suspending or resuming server operations, or changing the service level (tier) use Azure Resource Manager (AzureRM) cmdlets. Other tasks for managing databases such as adding or removing role members, processing, or running TMSL scripts use cmdlets in the SqlServer module. Both AzureRM and SQLServer modules are available in the PowerShell gallery.

Secure

Data visualizations

Authentication

User authentication for Azure Analysis services is handled by Azure Active Directory (AAD). When attempting to log in to an Azure Analysis Services database, users use an organization account identity with access to the database they are trying to access. These user identities must be members of the default Azure Active Directory for the subscription where the Azure Analysis Services server resides. To learn more, see Authentication and user permissions.

Data security

Azure Analysis Services utilizes Azure Blob storage to persist storage and metadata for Analysis Services databases. Data files within Blob are encrypted using Azure Blob Server Side Encryption (SSE). When using Direct Query mode, only metadata is stored. The actual data is accessed from the data source at query time.

On-premises data sources

Secure access to data residing on-premises in your organization is achieved by installing and configuring an On-premises data gateway. Gateways provide access to data for both Direct Query and in-memory modes. When an Azure Analysis Services model connects to an on-premises data source, a query is created along with the encrypted credentials for the on-premises data source. The gateway cloud service analyzes the query and pushes the request to an Azure Service Bus. The on-premises gateway polls the Azure Service Bus for pending requests. The gateway then gets the query, decrypts the credentials, and connects to the data source for execution. The results are then sent from the data source, back to the gateway and then on to the Azure Analysis Services database.

Azure Analysis Services is governed by the Microsoft Online Services Terms and the Microsoft Online Services Privacy Statement. To learn more about Azure Security, see the Microsoft Trust Center.

Client connections

Data visualizations

Modern data exploration and visualization tools like Power BI, Excel, and other third-party tools provide end-users with highly interactive and visually rich insights into your model data.

Clients use MSOLAP, AMO, or ADOMD client libraries to connect to Analysis Services servers. Microsoft client applications like Power BI Desktop and Excel install all three client libraries. But keep in-mind, depending on the version or frequency of updates, client libraries may not be the latest versions required by Azure Analysis Services. The same applies to custom applications or other interfaces such as AsCmd, TOM, ADOMD.NET. These applications typically require manually installing the libraries as part of a package.

Get help

Documentation

Azure Analysis Services is simple to set up and to manage. You can find all the info you need to create and manage your server services here. When creating a data model to deploy to your server, it's much the same as it is for creating a data model you deploy to an on-premises server. There's an extensive library of conceptual, procedural, tutorials, and reference articles at Analysis Services.

Videos

Check out helpful videos at Azure Analysis Services on Channel 9.

Blogs

Things are changing rapidly. You can always get the latest information on the Analysis Services team blog and Azure blog.

Community

Analysis Services has a vibrant community of users. Join the conversation on Azure Analysis Services forum.

Feedback

Have suggestions or feature requests? Be sure to leave your comments on Azure Analysis Services Feedback.

Have suggestions about the documentation? You can add comments using Livefyre at the bottom of each article.

Next steps

Now that you know more about Azure Analysis Services, it's time to get started. Learn how to create a server in Azure. When your server is ready, step through the Adventure Works tutorial to learn how to create a fully functional tabular model and deploy it to your server.