Aggregations (Power BI)

Aggregations in Power BI are pre-summarized tables that answer common summary questions from a small, fast table instead of scanning millions of detail rows.

What Are Aggregations in Power BI?

Aggregations in Power BI are pre-summarized tables that store data at a higher level than the detail, so common summary questions can be answered from a small, fast table instead of scanning millions of detail rows. A sales semantic model might keep every line-item transaction in DirectQuery plus an imported aggregation table that totals sales by month and product. When a report asks for monthly sales, Power BI answers from the small aggregation; when it asks for a single transaction, it falls back to the detail. The reader sees one semantic model, while the engine picks the fastest path.

How Aggregations Work

An aggregation table is built by grouping a detail table to a coarser grain, for example summing sales to the day or month rather than the second. You then map the aggregation to its detail table in the Manage aggregations dialog, tell Power BI which columns and summary types it covers, and set the shared dimension tables to Dual storage mode so they can join to either table. At query time, the engine checks whether a visual can be served entirely from the aggregation. If it can, the query hits the small table and returns almost instantly. If the question needs a level of detail the aggregation does not hold, the engine transparently queries the detail table instead. This automatic matching is what makes aggregations powerful: no report change is needed for them to take effect.

User-Defined vs Automatic Aggregations

The aggregations described above are user-defined: someone designs the summary table and maps it in Power BI Desktop. Automatic aggregations are a capacity feature for DirectQuery semantic models on Premium, Premium Per User or Fabric capacity. Power BI studies the queries reports send, then builds and refreshes in-memory aggregation tables itself. They suit large DirectQuery semantic models with a steady query pattern. User-defined aggregations give more control over grain and are the choice when the summary should follow a business rule.

Aggregations and DirectQuery

Aggregations are most valuable on very large datasets that are too big to import in full. For user-defined aggregations, the detail table has to stay in DirectQuery against the source, while a small aggregation table is usually imported into memory. Summary visuals are answered instantly from the in-memory aggregation, and only the rarer detail-level questions send a live query to the source. This gives much of the speed of an imported semantic model without holding billions of detail rows in memory, which is why aggregations often appear inside composite models.

When to Use Aggregations

Aggregations pay off when a semantic model has a large fact table and most reporting happens at a summary level: totals by month, region, or product rather than individual rows. They add design and maintenance work, since each aggregation has to be defined, mapped, and refreshed, so they aren’t worth it for smaller semantic models that fit comfortably in Import mode. The rule of thumb: use aggregations when reports are slow because they repeatedly scan a large detail table for answers that live at a higher grain.

Aggregations on a Governed Data Foundation

Aggregations work best when the detail data beneath them is clean, consistently grained, and modeled the same way every time. Building them by hand on top of raw ERP tables is slow and fragile. QuickLaunch builds governed data foundations for JD Edwards, Vista, NetSuite, OneStream, Salesforce and Spectrum, with a pre-built semantic model for each system, built with partitioned fact tables and incremental refresh, so summary reporting stays fast at scale and aggregations become a deliberate tuning step rather than a rescue for slow source data.

Frequently Asked Questions

Do aggregations work with row-level security?

Yes, if the security rules filter both tables. Power BI only answers a query from an aggregation table when the row-level security filter applies to it as well as to the detail table, usually through a dimension that filters both. A rule that filters only the detail table still works, but those users lose the speed of aggregation hits.

Do Aggregations Require Changing My Reports?

No. Once an aggregation is defined and mapped to its detail table, Power BI decides at query time whether a visual can be answered from it. Reports do not need to reference the aggregation directly, so existing visuals speed up without being rebuilt.

Why isn’t my aggregation being used?

The usual causes: the visual asks for a column finer than the aggregation’s grain, the detail table is imported instead of DirectQuery, a relationship is limited rather than regular (check Dual mode on shared dimensions), or the measure uses a summary the mapping doesn’t cover. SQL Profiler or DAX Studio shows whether each query hit or missed the aggregation.

About the Author

Avatar photo

Louie Benitez

Louie learned the product the practical way, by deploying it. After years on the implementation team getting customers live, he moved into sales engineering, where he now demos and scopes the solution for prospects. He writes from the delivery seat about what a real rollout looks like and where ERP data tends to break.

Related QuickLaunch Solutions and Products

Foundation Pack

Accelerate time to insight while lowering total cost of ownership by creating a unified and centralized business foundation with your CRM, ERP, and other data sources.

Key Features

  • Automated Data Pipelines
  • Governed Data Lakehouse
  • Enterprise Semantic Layer
  • Kept current through upgrades
Learn More About the Foundation Pack

Get Your Custom Analytics Blueprint

See the ideas working in a live demo. We'll show the semantic model, the governed lakehouse and AI answers for JD Edwards, Vista, NetSuite, OneStream, Salesforce or Spectrum.

Get Custom Demo