This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Less than a year ago, we announced support for automatic aggregations in public preview. Today, we are excited to announce General Availability (GA), along with several important improvements. By using automatic aggregations in Power BI Premium, you can unlock cloud-scale data volumes for interactive analysis. The fundamental idea is to import data into the dataset only at the aggregated level while leaving the detail data at the source to minimize data duplication. In this way, most BI queries can benefit from Power BI’s blazing fast query performance in import mode, while occasional detail queries can still work transparently against the data source in DirectQuery mode. And given that most user-generated BI queries are aggregated in nature, you should enable automatic aggregations to deliver an excellent interactive user experience over big data in a very economical and effective way.
There are basically two options to add aggregations to a DirectQuery dataset. You can define aggregations manually by following the steps as described for User-defined aggregations in the product documentation. These aggregations are static and won’t adjust to changing query workloads unless you modify them. Alternatively, you can enable automatic aggregations with a single click on a toggle button on the Dataset Settings page, as shown in the following screenshot. Automatic aggregations are system-managed and dynamic. Power BI analyzes a query log that tracks all the BI queries for the dataset over a seven-day window to automatically create and adapt aggregations according to the actual usage patterns. We call this AI-driven process automatic aggregations training. So, you no longer require query-optimization skills to set up and benefit from aggregations. In comparison to pure DirectQuery reports without aggregations, you will see a significant boost in query performance thanks to the blazing-fast aggregations caches that Power BI maintains automatically for you on an ongoing basis.
Announcing_general_availability_of_automatic_aggregations
While it is easy to enable automatic aggregations on the Dataset Settings page, we learned during the public preview period that customers want more insights and control over the automatic aggregations training process. For this reason, we are introducing the following improvement with the GA release:
TOM.Model model = database.Model;
model.AutomaticAggregationOptions = "{ \"queryCoverage\": 0.9, \"detailTableMinRows\": 100M }";
TOM.Table table = model.Tables[tableName];
table.ExcludeFromAutomaticAggregations = true;
model.SaveChanges();
With these improvements and APIs, we hope that you can take your big data reports and solutions to the next level by enabling automatic aggregations for every eligible DirectQuery dataset. In addition to Azure Synapse Analytics, Snowflake, and Google BigQuery, we are actively working on expanding the list of supported data sources so that even more DirectQuery datasets can take advantage of this exciting capability to boost query performance based on blazing-fast aggregations caches that Power BI maintains automatically for you. So, stay tuned for even more improvements and innovations in this area. For additional details, check out the Automatic aggregations overview in the product documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.