{"slug": "agent-ready-analytics-unlocking-insights-with-bigquery-augmented-analytics", "title": "Agent-ready analytics: Unlocking insights with BigQuery augmented analytics", "summary": "Google's BigQuery added six augmented analytics Table-Valued Functions that combine AI, ML and statistical methods to automate insight discovery directly where data lives. The functions — AI.KEY_DRIVERS, AI.CAUSAL_EFFECT, ML.CORRELATION, ML.DETECT_CHANGE_POINTS, ML.TREND and ML.SEASONALITY — can be chained together and integrated as skills for AI agents to enable automated, conversational data investigation workflows. Google demonstrated the functions on the Austin Bikeshare sample dataset (bigquery-public-data.austin_bikeshare.bikeshare_trips), where ML.DETECT_CHANGE_POINTS identified a February 2018 shift that aligned with the Austin City Council's passage of the \"Dockless Mobility Pilot Program.", "body_md": "BigQuery now features a suite of augmented analytics Table-Valued Functions (TVFs) designed to automate complex data analysis at scale. Augmented analytics combines AI, ML and statistical methods to automate insight discovery and pattern explanation. These functions allow you to diagnose why metrics changed, uncover underlying trends and relationships across the data, and even isolate the true impact of business decisions.\n\nThese TVFs run directly where your data lives, which helps speed up analysis and reduces the need to export data into external tools. In addition, since these functions are compact and yield structured SQL outputs, they can easily be integrated as skills for AI agents, which easily enables automated, conversational data investigation workflows.\n\nWe are introducing six new augmented analytics functions in BigQuery, each created to address a specific analytical challenge:\n\n| **TVF Function** | **What It Helps You Find** | **Real World Question It Answers** | \n| AI.KEY_DRIVERS | Identifies the top drivers behind an increase or drop in a metric between two time periods or groups. | Why did revenue spike this quarter compared to last quarter? | \n| AI.CAUSAL_EFFECT | Quantifies the impact of an action or event by comparing the observed results to an expected baseline. | How much of the revenue lift came from our pricing update rather than organic growth? | \n| ML.CORRELATION | Evaluates the direction and strength of the relationship between pairs of numeric metrics. | Does increased user session duration correlate with higher lifetime customer value? | \n| ML.DETECT_CHANGE_POINTS | Identifies specific dates or intervals where a metric experiences a shift compared to surrounding patterns. | During which time periods did our platform latency experience persistent, structural shifts? | \n| ML.TREND | Separates the underlying growth or decline from short-term fluctuations or noise. | What are the underlying trends of my revenue over the past year, abstracting away the outlying spikes and drops? | \n| ML.SEASONALITY | Discovers predicable repeated cycles across hours, days, weeks, months or quarters. | Which days of the week consistently experience the highest server load? | \n\nAs we show in the next section, these functions can be easily chained together. The output of one function, such as a detected time window, can directly parameterize the next analytical step.\n\nConsider a case where there is a shift in a metric, and you need to diagnose the underlying cause and measure the business lift.\n\nTo diagnose, we can chain ML.DETECT_CHANGE_POINTS, AI.KEY_DRIVERS and AI.CAUSAL_EFFECT using the Austin Bikeshare sample dataset (bigquery-public-data.austin_bikeshare.bikeshare_trips). This dataset contains historical trip volume and demographic data for the city’s bikesharing program.\n\nML.DETECT_CHANGE_POINTS automatically identifies statistically significant structural shifts or level changes in your time-series data. While this example demonstrates the analysis in a single aggregate metric, this function is highly scalable and is capable of running across millions of individual time series.\n\nTo find these shifts, we run the following query across the daily baseline:\n\nThe output identifies the exact time intervals where the baselines have shifted over the company’s history:\n\nIf we look at the raw daily session counts, this aligns with shifts over time. We highlight the two change points with the longest durations below:\n\nThe shift in February 2018 aligns with the day the Austin City Council passed the “Dockless Mobility Pilot Program”, to transform the transit ecosystem, integrating shared electric scooters and bikes into the public.\n\nWe can input the February 2018 slice found directly to AI.KEY_DRIVERS to determine the particular factors (i.e. bike_type, subscriber_type, etc) driving the surge. AI.KEY_DRIVERS can scan through millions of rows of multi-dimensional data in seconds.\n\nWe define the **interest group** as the slice of time after the shift occurs and compare it against the time period before the shift as the **reference group**.\n\nAI.KEY_DRIVERS isolates the top contributing dimension values.  Each row contains a **segment**, which represents a slice of data identified by a specific combination of dimension values (e.g., subscriber_type = 'UT Student' and bike_type = 'classic'). \n\nThe analysis reveals that the overall trip count increased +374.7% (+40,159 trips) between the reference and interest time windows. The massive growth was overwhelmingly concentrated in U.T. Student Memberships (+7,167.1%) and trips ending at the 21st & Speedway @PCL station (+20,739.1%).\n\nThis aligns with Austin Bikeshare’s response to the Dockless Mobility Pilot Program. In early February, the bikeshare program launched a large promotional partnership with the University of Texas that offered free annual memberships to all UT students.\n\nWhile we know what drove the surge and when it started, we need to isolate the true return on investment over organic expectations. AI.CAUSAL_EFFECT can construct an [ARIMA_PLUS](https://arxiv.org/pdf/2510.24452) counterfactual to measure what the volume would have been had the program never launched. \n\nIf we graph the predicted and actual trips per day, we can see the surge compared to the counterfactual.\n\nIf we set the `output_time_series =>` `FALSE`, we can see a summary of the lift\n\nAI.CAUSAL_EFFECT reveals that the program caused a +358% volume surge above organic baseline projections, resulting in an estimated 89,775 incremental trips (with 99.9% probability of causal effect).\n\nConversational Analytics lets you chat with agents about your data using natural language. All new BigQuery augmented analytical functions are now available in [Conversational Analytics](https://docs.cloud.google.com/bigquery/docs/conversational-analytics). Since these TVFs can execute complex analytics at BigQuery-scale in seconds, Conversational Analytics can orchestrate multi-step investigative workflows based on a given prompt. Below we show two examples:\n\nHere is an example using the Chicago Taxi Trips (`bigquery-public-data.chicago_taxi_trips.taxi_trips`).\n\n**Prompt:** What metric has the strongest correlation with drivers getting tipped? Then run an attribution analysis to tell me which categorical dimensions (like location and payment type) most disproportionately drive that specific metric.\n\nThe results here used ML.CORRELATION in combination with AI.KEY_DRIVERS.\n\nCredit card payments serve as the primary positive driver of trip distance, adding +1.65M due to longer travel routes and automated digital tip tracking. Trips originating from O'Hare International Airport (Community Area 76) represent another major positive factor, contributing an additional +1.10M miles among tipped credit card rides. In contrast, cash transactions act as a significant negative driver (-652.96K miles), reflecting that cash is predominantly used for shorter journeys rather than extended airport travel.\n\nHere is an example using the Iowa liquor dataset (`bigquery-public-data.iowa_liquor_sales.sales`) that uses both ML.TREND in combination with ML.SEASONALITY.\n\n**Prompt:** Find the historical trend for bottles sold. Then, describe the yearly seasonality patterns.\n\nThe results show that liquor sales in Iowa show persistent long-term growth, rising from 1.3–1.5 million bottles in 2012 before stabilizing around 2.6 million in recent years. There are strong seasonal cycles, particularly during October and December as well as May and June. There is a drop in sales around January and February.\n\nThe skills for these TVFs are now available at the [Google Skills Github](https://github.com/google/skills) repository. The BQ AI/ML skills can be found [here](https://github.com/google/skills/tree/main/skills/cloud/bigquery-ai-ml). \n\nDocumentation:\n\n[BigQuery AI/ML support in Conversational Analytics](https://docs.cloud.google.com/bigquery/docs/conversational-analytics#bigquery-ml-support)\n\n*We would like to extend our sincere thanks to Katelin Amann, Shirley Fu, Chaoyi Shen, Haiyang Qi, Zheng Zhang, Xi Cheng and the wider engineering team for their feedback and contributions of this work.*", "url": "https://wpnews.pro/news/agent-ready-analytics-unlocking-insights-with-bigquery-augmented-analytics", "canonical_source": "https://cloud.google.com/blog/products/data-analytics/bigquery-augmented-analytics-tvfs/", "published_at": "2026-09-14 16:00:00+00:00", "updated_at": "2026-09-14 16:24:50.904358+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "artificial-intelligence", "machine-learning", "ai-products"], "entities": ["Google", "BigQuery", "AI.KEY_DRIVERS", "AI.CAUSAL_EFFECT", "ML.CORRELATION", "ML.DETECT_CHANGE_POINTS", "ML.TREND", "ML.SEASONALITY"], "alternates": {"html": "https://wpnews.pro/news/agent-ready-analytics-unlocking-insights-with-bigquery-augmented-analytics", "markdown": "https://wpnews.pro/news/agent-ready-analytics-unlocking-insights-with-bigquery-augmented-analytics.md", "text": "https://wpnews.pro/news/agent-ready-analytics-unlocking-insights-with-bigquery-augmented-analytics.txt", "jsonld": "https://wpnews.pro/news/agent-ready-analytics-unlocking-insights-with-bigquery-augmented-analytics.jsonld"}}