MSDN Documentation

Introduction to SQL Server Analysis Services (SSAS)

SQL Server Analysis Services (SSAS) is Microsoft’s online analytical processing (OLAP) and data mining engine in the Microsoft Business Intelligence stack. It enables you to design, create, and deliver multidimensional and tabular data models that provide fast analytical insights for decision‑making.

On this page

Key Features

Typical Use Cases

Core Components

Database Engine
Stores and processes cubes, dimensions, and tabular models.
Processing Service
Handles data refresh, aggregations, and calculations.
Query Processor
Executes MDX/DAX queries and returns results to clients.
Data Mining Designer
Provides tools to build predictive models using built‑in algorithms.

Getting Started

  1. Install SQL Server with the Analysis Services feature.
  2. Launch SQL Server Data Tools (SSDT) to create a new Analysis Services project.
  3. Define data sources, data source views, dimensions, and cubes (or tabular models).
  4. Deploy the project to the SSAS instance and process the model.
  5. Connect using client tools such as Excel, Power BI, or SQL Server Management Studio.
-- Example DAX measure
Total Sales :=
SUMX (
    FILTER ( Sales, Sales[OrderDate] >= DATE(2023,1,1) ),
    Sales[Quantity] * Sales[UnitPrice]
)
            

Additional Resources