Cloud service · Azure · Updated

Azure Analysis Services - Azure Analysis Services is a managed platform service for hosting tabular semantic models that support business intelligence and analytical queries.

In short

Azure Analysis Services provides a shared semantic layer for combining data, defining business measures, and controlling access across reporting applications. Engineers build and operate tabular models that clients such as Power BI and Excel query using DAX or MDX, with either in-memory storage or supported DirectQuery sources.

Cloud Services Hub →

8 key features of Azure Analysis Services

01
Centralized tabular semantic models

Define relationships, hierarchies, DAX measures, and business terminology once for multiple reporting clients. Models support compatibility levels 1200 and higher, with individual capabilities depending on compatibility level and tier.

02
In-memory analytical processing

Import and compress data from multiple supported sources for interactive queries. Schedule processing explicitly and reserve capacity for refresh operations as well as user queries.

03
DirectQuery connectivity

Query supported relational sources without importing their full datasets into the model. Validate source performance, supported DAX expressions, and tier availability before adopting this mode.

04
Partition-based processing

Divide large tables into partitions and refresh only the portions that changed, such as the current month's transactions. Partitioning can reduce processing duration and resource consumption where the selected tier supports it.

05
Model-level data security

Use Microsoft Entra identities and database roles to authorize access. Apply row-level filters and, at compatibility level 1400 or higher, object-level security for sensitive tables and columns.

06
Capacity scaling and query replicas

Scale server resources or add query replicas to handle higher concurrency on supported plans. Replicas contain synchronized model copies, can separate processing from query serving, and are billed at the server's rate.

07
Programmable model management

Deploy metadata and process models using TMSL, TOM, PowerShell, or supported REST operations. Service principals support unattended workflows without depending on an interactive user session.

08
Monitoring and query diagnostics

Use Azure Monitor metrics and diagnostic logs to track server health and workload behavior. Query dynamic management views to inspect model metadata and runtime information during troubleshooting.

Where Azure Analysis Services is used

  1. 01
    Shared business metrics across reports

    Publish a governed sales or finance model that Power BI reports and Excel workbooks query directly. Maintain calculations such as gross margin and year-to-date revenue centrally rather than duplicating them in each report.

  2. 02
    Migration of existing tabular workloads

    Move compatible SQL Server Analysis Services tabular models to a managed Azure service. Validate compatibility levels, data-source connectivity, security assignments, and unsupported server dependencies before migration.

  3. 03
    Interactive analysis over warehouse data

    Import curated warehouse tables into a compressed model to serve repeated analytical queries without placing every user interaction on the warehouse. Refresh selected partitions after warehouse loads complete.

  4. 04
    Departmental reporting with restricted data

    Expose a shared model while restricting users to authorized regions, departments, or business units through row-level security. Use object-level security when particular tables or columns must not be visible.

  5. 05
    High-concurrency reporting

    Use query replicas to distribute reporting traffic during predictable usage peaks. Coordinate processing and replica synchronization so users receive updated data without unnecessary contention with refresh workloads.

How Azure Analysis Services is priced

Provisioned server capacity

Charges depend on the running server's region, tier, and selected performance level rather than individual query counts. Developer is intended for development and testing, while Basic and Standard provide production options with different capacity and feature limits; check regional availability and current rates.

Additional query replicas

Each additional query replica is billed at the same rate as the server. Include the processing server and all configured replicas when estimating the cost of a scale-out deployment.

Pause and resume cost control

Pausing stops server compute charges while making models unavailable for queries and processing. Schedule resume operations before dependent jobs or reporting windows, and account separately for surrounding services such as storage, orchestration, gateways, and diagnostic log ingestion.

Services Azure Analysis Services works with

A common architecture places Azure Analysis Services between a curated SQL warehouse and reporting clients. Azure Data Factory loads data into Azure SQL Database or a Synapse dedicated SQL pool, validates the load, and triggers model processing. Imported models then serve Power BI and Excel queries from compressed in-memory data. DirectQuery is an alternative for supported SQL sources, but it moves much of the execution burden and latency sensitivity back to the database.

Orchestration should distinguish data loading, model processing, and query-replica synchronization. A pipeline can submit an asynchronous refresh request using a service principal, poll for completion, and synchronize replicas before declaring the reporting dataset current. On-premises sources require an appropriately configured on-premises data gateway for supported access patterns.

Microsoft Entra ID supplies identities, while model database roles enforce analytical permissions independently of Azure resource-management access. Azure Monitor provides operational visibility through metrics and diagnostic logs routed to a Log Analytics workspace or other supported destinations. Blob Storage backups support recovery and controlled model changes. Together, these integrations separate data preparation, semantic modeling, identity, reporting, and operations into independently managed components.

Azure SQL Database

Azure SQL Database can supply tables and views to imported models or act as a supported DirectQuery source. For example, import a star schema nightly and process only the latest transaction partitions. For DirectQuery, tune indexes and source queries because report response times depend on database execution.

Azure Synapse Analytics

A Synapse dedicated SQL pool can provide curated warehouse data for a tabular model through supported SQL connectivity. For example, complete a daily fact-table load in the warehouse before refreshing the corresponding Analysis Services partitions. Choose import or supported DirectQuery connectivity based on concurrency, latency, and modeling requirements.

Azure Data Factory

Data Factory can orchestrate warehouse loads followed by Analysis Services processing through a Web activity calling the refresh REST API or through an automation component. For example, refresh a sales partition only after upstream copy and validation activities succeed. Use an appropriately authorized service principal and poll asynchronous refresh status before marking the pipeline complete.

Azure Monitor

Azure Monitor collects platform metrics, and diagnostic settings can route Analysis Services logs to a Log Analytics workspace. For example, alert on sustained memory pressure and investigate query activity around a slow reporting period. Configure diagnostic collection before an incident so that historical evidence is available.

Azure Blob Storage

Configure an Azure Blob Storage container for Analysis Services database backups and restores. For example, take a backup before deploying a significant model change and test restoring it to a separate server. Protect storage credentials and access signatures, and define retention and recovery procedures independently of query-replica configuration.

Automation

Azure Analysis Services model refreshes can run on a schedule through Azure Automation runbooks. A runbook can authenticate with a Microsoft Entra service principal and refresh selected partitions without reprocessing the entire model.

Azure Cosmos DB

Azure Analysis Services can import data from Azure Cosmos DB into in-memory tabular models at compatibility level 1400 or later. The connector does not support DirectQuery.

Azure Data Lake Storage

Azure Analysis Services can import files from Azure Data Lake Storage Gen2 into an in-memory tabular model at compatibility level 1400 or later. It uses the Blob Storage connector rather than the dedicated Data Lake Storage Gen2 connector.

Azure Database for MySQL

Azure Analysis Services can import data from Azure Database for MySQL through the MySQL connector and an on-premises data gateway. The connector supports in-memory models at compatibility level 1400 or later, not DirectQuery.

Azure Database for PostgreSQL

Azure Analysis Services can import data from Azure Database for PostgreSQL through the PostgreSQL connector and an on-premises data gateway. The connector supports in-memory models at compatibility level 1400 or later, not DirectQuery.

What is Azure Analysis Services

2 min read

Azure Analysis Services hosts tabular semantic models built on the SQL Server Analysis Services engine. A model describes tables, relationships, hierarchies, measures, and security rules so that reporting tools use consistent business definitions. It sits between analytical data sources and client applications; it is not a replacement for a data warehouse, an ingestion platform, or a report-authoring service. Multidimensional models and PowerPivot for SharePoint are not supported.

In-memory mode imports and compresses source data into the model, providing fast analytical queries without sending every interaction back to the source database. Imported data remains at its last successfully processed state until refreshed. Engineers should size the server for the combined model footprint, query workload, and processing overhead rather than only the compressed size of the stored data. Partitions, where supported by the selected tier, allow recent data to be processed separately from historical data.

DirectQuery mode delegates data retrieval and query execution to a supported relational source. This can accommodate datasets larger than server memory and reduce the need to refresh imported data, but query latency depends on source performance and connectivity. DirectQuery supports fewer source types and has modeling and DAX restrictions, so validate representative queries before selecting it. Feature availability also depends on the service tier and model compatibility level.

Developers can build models using Visual Studio Analysis Services projects and administer them through SQL Server Management Studio, PowerShell, Tabular Model Scripting Language, or the Tabular Object Model. Unattended processing can use service principals and the refresh REST API. A typical pipeline loads and validates warehouse data first, refreshes the affected model partitions, and then makes the updated model available to reporting users. In scale-out deployments, include query-replica synchronization in this workflow.

Authentication uses Microsoft Entra ID, while database roles govern access to model data. Row-level security applies DAX filters, and object-level security can hide tables or columns in supported models. Azure resource permissions do not automatically grant permission to query a model. Enable the server firewall during provisioning because it is not enabled by default, and configure allowed client addresses and Power BI access deliberately. Access to on-premises sources uses the on-premises data gateway.

Operational controls include scaling server capacity, pausing and resuming the server, and adding query replicas on supported plans. Query replicas distribute concurrent queries but do not increase the memory available to a single model beyond the selected server size. Azure Monitor metrics, diagnostic logs, and dynamic management views help identify memory pressure, expensive queries, and processing contention. Maintain backups and test restoration separately from scale-out: replicas remain within the server region and are not a cross-region disaster-recovery solution.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.